Based on this stack-overflow response: http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-in-linux
one way of searching for files containing a certain text patterns is:
grep -rnw ‘directory’ -e “pattern”
if you want to search relative to your current position replace “directory” with a . so:
grep -rnw . -e “pattern”
Tags: find