search for text in folders windows 10 code example Example: find text in folder grep -rnw '/path/to/somewhere/' -e 'pattern'