Using bash:
grep "MyWordOfInterest" $(find / -type f -iname '????\.??')
The command1 $(command2) expression executes command2
and replace $(command2) with its own output. It's not
really fast but is really easy to concatenate it to
make complex searchs.
With other shells use the `command2` instead of
$(command2) where ` is the "inverted tilde". Maybe you
need this if working as root with a simpler shell.
--- N1UAN Bob
Wonder if someone could give me the way to grep for an word within all files on my system like the filename would be XXXX.XX seems no matter what i been trying i am just not doing it right thanks in advance Bob
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com