find text in a text file code example Example: bash find all files containing string grep -r '/path/to/somewhere/' -e 'pattern'