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