Guides & Tutorials

Technology tutorials, technology guides and more

The “find” command allows you to search for files for which you know part of the filenames. It operates from the current directory and recursively through its subdirectories. You can search for files by name, owner, group, type, permissions, date, and other criteria.

Find all files in the current directory and recursively:
find .
Find files with extension tar.gz in the current directory and recursively:
find . -name *\.tar.gz
Find files with name starting myPicture and anything following that with any extension:
find . -name myPicture\*