Wednesday, 22 April 2009

Find files with text

grep -lir "thing" *

Finds text in files

-l output filenames
-i ignore case
-r recursive subdirs

No comments:

Post a Comment