[CentOS] grep from /

Mon Nov 27 15:43:09 UTC 2006
Rodrigo Barbosa <rodrigob at darkover.org>

-----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)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFaweNpdyWzQ5b5ckRAqs0AJwLMFXGp9MGb1afZ1cDSMKHDNCdwgCfY7QD
Ni2dDWGZl3pFbVNn0w3s/XA=
=/QhW
-----END PGP SIGNATURE-----