"Alexander A. Basa" wrote:
>
> I need to find some files with the word "PATH" in it
> using grep and find combined together.
> please help
>
<snip>
to find PATH in all files in the current directory (and subdirs), type
$ find . -type f -print | xargs grep PATH
(The period stands for 'curreent directory' and '-type f' limits find's
output to regular files (ie. no directories).
man grep, man find for more.
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs