To find which files have a word/term/string use the following command:
~$ find ./ -type f -exec grep -H 'text' {} ;
Note that the path of the files is determined in the second block in: ./
The searched text must be inserted in the quotation marks in place of the word tex
t.