[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: find


I'm trying to find a word in a file using find.
I take a look at the man of find but...
All i see is to find files, perms, etc.
It's possible to find an word in a text file?
All i can do is this:
$find . -name *.c -print

Many thanks.

for flnm in $(find . -type f ) ; do grep -l -i "the string you´d like to find" $flnm ; done


Reply to: