grep search file containing text on windows code example Example: grep search text in folder grep -rnw '/path/to/somewhere/' -e 'pattern'