Recursively grep files for a string and show line numbers

1
2
3

grep -nir "foo" .

August 06, 2010