find file with text recursively code example Example: find file with text recursively grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"