Return to Snippet

Revision: 5596
at March 18, 2008 09:01 by arunpjohny

Initial Code
grep -lir "text to find" *

Initial URL

Initial Description
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.

Initial Title
Find files that contain a text string

Initial Tags

Initial Language