bash script to find text in a file with FIND code example
Example 1: find text in any file linux
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 2: bash find term in files
grep "some string" . -R
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep "some string" . -R