# Basic syntax:
basename $YOURFILE
# Example usage:
YOURFILE="/path/to/your_file.txt"
basename $YOURFILE
--> your_file.txt
# Note, to remove a specified suffix from the file name, add it at the end like:
basename $YOURFILE .txt
--> your_file
# Note, to run basename in a bash script and assign the output to a variable,
# use the following syntax:
FILENAME="$(basename -- $YOURFILE)"
find . -name 'mystring*'
find /path -name *.txt
find /path -type f -name test.txt
find /path -name failed*.* -type f
find /path -type f -not -name “*.html”
find / -name “file.txt” -size +4M
find /dev/ -type b -name “sda*”
find /path -name *.txt
# syntax
# find *</path/to/dir> '(' *<filter-1> -o *<filter-2> ')'
# example
find . '(' -name '*ERR5312209.zip' -o -name '*ERR5312209.TXT' ')'