[EMAIL PROTECTED] wrote:
Is there a command that finds a file containing a certain word?

find and apropos don't. They work on filenames only.

Using Hardy H.

Any suggestions gratefully etc.

Bill Bennett

Hello Bill,

find . -name "*" -print -exec grep word {} \;

finds the word "word" in files in the current directory
on my system, and prints the relevant file name.

Ben
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to