grep
will output stderr
to stdout
. E.g.
grep -r some_text .
grep: ./some./dir/with/symlinks: Too many levels of symbolic links
To ignore these, direct stderr
to /dev/null
E.g.
grep -r some_text . 2> /dev/null
http://mindspill.net/computing/linux-notes/hiding-stderr-or-stdout/