Answers for "bash search every directory for files containing string in filename"

8

bash search file in directory

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

search all folders for file match linux

find . -name "foo*"
Posted by: Guest on November-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 "bash search every directory for files containing string in filename"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language