find ./ -name *PATH* -print
this will list all files in the current and any sub-directories that
contain PATH in the filename. find is one of the most value commands as
it can
be linked in with any other command with the -exec switch. It is well
worth
thoroughly learning it.
grep -rl PATH *
will list any files that contain PATH in the file itself in the current
and any
sub-directory.
--
Carl Lawton
XKO Software Ltd
-----Original Message-----
From: Alexander A. Basa [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2000 15:52
To: [EMAIL PROTECTED]
Subject: finding files
I need to find some files with the word "PATH" in it
using grep and find combined together.
please help
Alex
-
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
-
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