Answers for "linux search for file name containing text"

8

find text in any file 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 search for file name containing text"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language