Answers for "linux find files containing a string in folder"

8

find string in files linux

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

linux find all files name containing string

find . -name "*ABC*" -exec grep -H 'XYZ' {} +
Posted by: Guest on April-23-2021

Code answers related to "linux find files containing a string in folder"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language