[NTLUG:Discuss] Command not found
Wayne Walker
wwalker at bybent.com
Thu Jan 25 18:32:48 CST 2007
On Thu, Jan 25, 2007 at 05:01:43PM -0600, Chris Cox wrote:
>
> Time to go hunting...
>
> # cd /etc
> # find . -type f -print0 |
> xargs -0 file |
> grep -i text |
> cut -f1 -d: |
> tr '\012' '\000' |
> xargs -0 grep ANT_HOME
or
grep -r ANT_HOME /etc
gnu grep has recursive search built in.
--
Wayne Walker
www.unwiredbuyer.com - when you just can't be by the computer
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.gnumber.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the Discuss
mailing list