search text in files linux terminal 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