Finding files containing 'string'
cannewilson at tiscali.co.uk
Wed Feb 1 20:26:54 UTC 2006
On Wednesday 01 Feb 2006 16:58, Paul Howarth wrote:
> My personal favourite solution for this problem:
> $ grep -i -r -l 'string' /place/to.start/searching
That worked well when I searched /etc, but when I tried the same search
on /usr or /var it got many 'no such file or directory' returns, and
eventually reported a loop in the search. I wanted to save the results
to a text file. The /etc one worked. The other two resulted in a text
file being created, but at soon as it hit a non-existant file it jumped
back to screen, and nothing at all is written in the text file.
Registered Linux User No.293302 (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060201/44e05b37/attachment-0002.bin
More information about the users