on most *nix, you can use grep -rni
example: grep -rni '*.dat'

> -----Original Message-----
> From: Chris Zampese [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 4:08 PM
> To: [EMAIL PROTECTED]
> Subject: searching files
> 
> 
> Hello everyone,
> 
>   I have a bunch of folders that I would like to search through for a 
> particular string.  Any hints on how to do this?  I do not 
> know the names of 
> all the files, but would like to be able to return the name.
> 
> Basically this is so I can search a bunch of files for a 
> word, and be able 
> to tell which files the word occurs in.
> 
> Thanks as always,
> 
>                  Chris.
> 
> 
> 
> 
> 
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to