Answers for "linux command to find all files containing a string"

5

bash find all files containing string

grep -r '/path/to/somewhere/' -e 'pattern'
Posted by: Guest on October-29-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 command to find all files containing a string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language