Content added Content deleted
imported>mutante mNo edit summary |
imported>DrOwl (added hint) |
||
Line 2:
{{manpage}}
== Tips ==
If you want to suppress error messages such as
find / -name file
'''find: cannot read dir /lost+found: Permission denied'''
/dir/file
as these messages are written to errout and not stdout, a nice trick is to pipe errout to null
find / -name file '''2> /dev/null'''
/dir/file
|
Revision as of 23:26, 16 January 2008
<man>find</man>
Tips
If you want to suppress error messages such as
find / -name file find: cannot read dir /lost+found: Permission denied /dir/file
as these messages are written to errout and not stdout, a nice trick is to pipe errout to null
find / -name file 2> /dev/null /dir/file