Finding files containing 'string'

CodeHeads ch at code-heads.com
Wed Feb 1 21:22:07 UTC 2006


On Wed, 2006-02-01 at 20:49 +0000, Anne Wilson wrote:
> On Wednesday 01 Feb 2006 20:41, CodeHeads wrote:
> >
> > How about this:
> >
> > $du -a <PATH> | grep <FILE>
> >
> > This works well for me.
> 
> That returns files with the string in the name, I believe.  I need files 
> with the string in the body.
> 
> Anne

oooppss sorry Anne :)  I was confused. LOL
-- 
Best regards,
~WILL~
Public Key: 0xC8E166BB
Key: http://code-heads.com/keys/ch1.asc
Linux Registered User: 406084
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060201/f98885bb/attachment-0001.sig>


More information about the fedora-list mailing list