grep search sting in files code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: bash find term in files
grep "some string" . -R
grep -r '/path/to/somewhere/' -e 'pattern'
grep "some string" . -R