Answers for "search recursively in file contents"

8

find file with text in the file recursively

grep -rnw '/path/to/somewhere/' -e 'pattern'
Posted by: Guest on January-23-2020
0

find file with text recursively

grep --include=*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"
Posted by: Guest on May-19-2021

Code answers related to "search recursively in file contents"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language