grep find string in folder code example
Example 1: grep search for string in directory
grep -nr 'yourString*' .
Example 2: grep search text in folder
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -nr 'yourString*' .
grep -rnw '/path/to/somewhere/' -e 'pattern'