/ Published in: Other
The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
grep -lir "text to find" *
URL: http://smart-pad.blogspot.com/2006/11/linux-find-files-containing-text.html