unix path to files containing string code example
Example 1: linux search for a given string in all files recursively
$ grep -r "String to be searched goes here" *
Example 2: command line how to find all files that have a string
grep -rnw '/path/to/somewhere/' -e 'pattern'