Find Files By Filename

Make Files And Directories

touch sales.txt, marketing.txt, data_science.csv, product.html; mkdir sales marketing

View Files And Directories

ls -l
total 8
-rw-rw-r-- 1 chris chris    0 Jul 31 09:02 data_science.csv,
drwxrwxr-x 2 chris chris 4096 Jul 31 09:02 marketing
-rw-rw-r-- 1 chris chris    0 Jul 31 09:02 marketing.txt,
-rw-rw-r-- 1 chris chris    0 Jul 31 09:02 product.html
drwxrwxr-x 2 chris chris 4096 Jul 31 09:02 sales
-rw-rw-r-- 1 chris chris    0 Jul 31 09:02 sales.txt,

Find Files Named product.html

find ~ -name product.html

Find Files With “html” at the end of the filename

find ~/linux_tutorials -name *html