If you have grep v2.4+ you can do the following:

grep -r "SPECIFIC TEXT" /*

The xargs method breaks if you have too many filenames or a few long
filenames.

-Gabi

> -----Original Message-----
> From: J A Shamsi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 30, 2000 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: [expert] help
> 
> 
> Hello
> I would like to search for a "specific text"
> on my machine.
> I would like to know all the FILENAMES and PATHS
> which contains a SPECIFIC TEXT.
> 
> I know i have to playwith FIND or GREP
> but if any one of you have any idea please let me 
> know
> 
> thanks
> j/s
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 

Reply via email to