find - ignore dirs/files with permission denied
How to I do a find and ignore the files who's permission is denied. They just spool off the screen too quick. I've piping the output to grep but that doesn't work. e.g.
find / -name foo | grep foo
Leave a comment...
- 1 Comments
- If you want to ignore files where the permission is denied, try:
find / -name foo 2>/dev/null
It looks like what you're trying to do is:
find / -name foo | grep foo | more
Speck#1; Sat, 17 Nov 2007 22:50:00 GMT