Answers for "grep command to find a string in a file recursively"

11

How to grep for file name recursively with some file content

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

linux search for a given string in all files recursively

$ grep -r "String to be searched goes here" *
Posted by: Guest on September-29-2020

Code answers related to "grep command to find a string in a file recursively"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language