How to use find command
On Debian based distros, find is part of the package findutils . find allow one to search for files on a filesystem based on different condition, creation date, modified date, file size, file type, permissions, name .... This tutorial, will be focused on finding files/directories based on their name, in order to explain in more depth the syntax of find, also will show how you can narrow down your search by adding condition on size and file modification time. 1. Find basis The default syntax of find is as such: find [path] [expression] where path is the path used as root for searching pattern and expression the expression we want the file to match. 2. Finding a file based on filename Let say for instance you want to find all .avi files in users home directories. Search files can be found with the following command: # find /home -name '*.avi' If you want to search for *.mpg and *.avi files, you will use the following: find /home -name '*.mpg' -o -name '*....