Korn and searching
Mark Musone
mmusone at shatterit.com
Wed Nov 13 22:33:39 EST 2002
I don't use xargs..but this will do the job still:
find / -type f -exec grep KEYWORD {} \;
Or, if you just want the list of files,
find / -type f -exec grep -l KEYWORD {} \;
Mark
-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
JJ Neff
Sent: Wednesday, November 13, 2002 9:19 PM
To: nflug at nflug.org
Subject: Korn and searching
Can someone indicate the syntax for searching for a keyword in any file
on aUnix box that uses Korn shell?
Im assuming it's some kind of
find / -name * > xargs less > grep Keyword
or something like that logically. Any help?
JJN
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2
More information about the nflug
mailing list