search string from text files Posted byepsilon March 9, 2022October 20, 2022 grep –include=\*.{c,h} -rnw . -e ‘keywords/string’ https://stackoverflow.com/questions/16956810/how-to-find-all-files-containing-specific-text-string-on-linux grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"