Possible Duplicate:
How do I remove “permission denied” printout statements from the find program?
When I run this command in Linux (SuSE):
find / -name ant
I get many error messages of the form:
find: `/etc/cups/ssl': Permission denied
Does find
take an argument to skip showing these errors and only try files that I have permission to access?
find / ! -readable -prune
. This is like "prune those results not (!) readable". See: http://stackoverflow.com/questions/762348/how-can-i-exclude-all-permission-denied-messages-from-find – appas Sep 16 '16 at 11:21