On AD 2007 January 10 Wednesday 06:21:10 AM +0100, Bo V|GV|Grsted Andresen
wrote:
> # grep -R "PANTS=ON" /etc/bash /etc/profile* /etc/env.d ~/.bash* ~/.profile
Or better yet,
# find /etc -type f -exec grep -nI --color PANTS {} \;
$ ls -d --color=no ~/.??* | xargs -i find {} -type f -exec grep -nI --color
PANTS {} \;
OR
$ find ~ | grep "\.\/\." | xargs grep -nI --color PANTS
OR
$ find ~ -mindepth 1 -wholename './.*' | xargs -r grep -nI --color PANTS
Yeah, maybe I'm just showing off by now. (-:
Justin
--
[email protected] mailing list