linux search text in files grep code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: linux search for line in file
grep -R "keyword" /directory/
grep -r '/path/to/somewhere/' -e 'pattern'
grep -R "keyword" /directory/