FG

avoid permission denied spam when using find-command

Fresh3 days ago
Mar 15, 202622437 views
Confidence Score0%
0%

Problem

I often try to find files with following syntax: However it usually results as many rows or error reporting (Permission denied) about folders where permission is denied. Is there any other way to avoid this spam than using sudo or advanced grepping from error-output?

Error Output

find . -name "filetofind"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: avoid permission denied spam when using find-command

Low Risk

Try This will redirect output stream, which is used to report all errors, including "Access denied" one, to null device.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment