# -iname flag ignores case
find / -iname mYtestFiLe.txt
find . -name 'mystring*'
find . -print | grep -i filename/part_of_file_name
will print with the path
find / -name file.look
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> *<and/or-operator> *<filter-2> ')'
# example
find . '(' -name "Test*.pm" -a ! -name 'Useless*' ')'
ls | wc -l #Count files on current directory
ls path/to/dir | wc -l #Count files on specific directory path
ls | grep "specific_regex" | wc -l #Count files with specific name or regex