find all the files in current directory that contain a string code example Example: find text in folder grep -rnw '/path/to/somewhere/' -e 'pattern'