In Linux, to search a text pattern in a path recursively, you can use this command:
grep -rnw '/path/to/somewhere/' -e 'pattern'
This idea is from one of the answers under this topic: https://stackoverflow.com/questions/16956810/how-to-find-all-files-containing-specific-text-string-on-linux
Have fun!