Re: [CentOS] grep from /

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----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-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux