This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

ignoring permission errors

Posted by: Anonymous Coward on July 11, 2006 08:00 AM
Our systems allow find to know about directories it doesn't have the rights to search, resulting in many lines of errors for perhaps one correct result buried in them somewhere. To quell the errors we add this to the end of the find string:
2>/dev/null

#

Return to CLI Magic: Searching with find