19 Ekim 2010 Salı

find text inside entire files with grep

Find Files Containing Text



I'm always piping the output of commands through grep to find specific words, but it can also be used to find files that contain a text string:



grep -lir "some text" *

Hiç yorum yok:

Yorum Gönder