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