search for a text in a directory of files code example Example: find text in folder grep -rnw '/path/to/somewhere/' -e 'pattern'