Operating System - HP-UX
1752474 Members
7056 Online
108788 Solutions
New Discussion

Re: C-shell, suppressing output of "find: cannot open

 
Maureen Gunkel
Trusted Contributor

Re: C-shell, suppressing output of "find: cannot open

When running the find command, I use the following to suppress just the error messages:

find 2>/dev/null

the 2 says errors only
>/dev/null says output to the null device.

Hope this helps.
No matter where you go, there you are.