ubuntu find text in files code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: ubuntu find file with text
grep -r someWordToSearchHere *
Example 3: file search linux by text
grep -rnw '/path/to/somewhere/' -e 'pattern'