bash find command code example
Example 1: bash find command syntax
# syntax
find </path/to/dir> -name '<filename>'
# example
find /export/home/jacquesk -name '*Found*.txt'
# This will look 'go to' the folder-path of "/export/home/jacquesk",
# and will show any files ending in '.txt' and having 'Found'
# somewhere in the filename as well
Example 2: bash find file
# syntax
# find *</path/to/dir> '(' *<filter-1> -o *<filter-2> ')'
# example
find . '(' -name '*ERR5312209.zip' -o -name '*ERR5312209.TXT' ')'