Thursday, March 03, 2011

Search recursively for a specific pattern in directory and list the names of the files that has that string

grep -r "#{" .

This will search for the pattern #{ in the current directory and all the files at and below this directory