go it!

grep -r -e aol.com /home/dirname/*.*/rules.ima 

Not bad for a stupid windows user.

-----Original Message-----
From: Anand Buddhdev [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: search files for key words


On Tue, Jun 18, 2002 at 10:28:42AM -0500, ListServ wrote:

> How can I search thru multiple subdirectories and individual files looking
> for key words?
> Currently I have about 600 subdirectories each one having its own
rules.ima
> file.
> 
> In particular I am looking for "@aol.com" references in all rules.ima
files.

Try:

grep -r @aol\.com topdir

where topdir is the top level directory where you want to begin searching.

-- 
Anand Buddhdev
http://anand.org



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to