find text in a file linux cmd code example
Example 1: linux find from file content
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