-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, Nov 27, 2006 at 07:13:30AM -0500, Mark Weaver wrote:
If someone tries to grep a whole Centos 4 server as root from / for a single word, will you see errors like this? :-)
you may want to use "--exclude=PATTERN". In this case the dir /dev
grep -R --exclude=/dev "some_term"
You might want to excluse /proc and /sys too (at least). I have seen more than 1 server crash due to ... how should I put it ... enthusiastic admins greping and/or tar'ing /proc.
[]s
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)