Finding files containing 'string'

Anne Wilson cannewilson at tiscali.co.uk
Wed Feb 1 20:49:20 UTC 2006


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
-- 
Registered Linux User No.293302 (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060201/92dacd3b/attachment-0002.bin 


More information about the users mailing list