Answers for "grep recursive search for string in files"

8

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
1

grep search for string in directory

grep -nr 'yourString*' .
Posted by: Guest on May-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language