how to find a file with a string in linux code example Example: find text in folder grep -rnw '/path/to/somewhere/' -e 'pattern'