Answers for "bash search file in directory"

3

bash search file in directory

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

bash find file

# syntax 
# find *</path/to/dir> '(' *<filter-1> -o *<filter-2> ')'

# example 
find . '(' -name '*ERR5312209.zip' -o -name '*ERR5312209.TXT' ')'
Posted by: Guest on May-04-2020

Code answers related to "bash search file in directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language