Find Command

It is very common to use find command to search for files from command line on Linux/Unix systems. Find will search any set of directories you specify for files that match the supplied search criteria. You can search files by name, owner, group, type, permissions, date and other criteria. The syntax is:

find where-to-look criteria what-to-do

To search all pathname for all files in the current directory and all subdirectories : find .

To search for any files named foo and display their pathnames in the user's directory:

find $HOME -name foo

If find doesn’t locate any matching files, it produces no output. You can specify as many places to search as you wish:

find /tmp /var/tmp . $HOME -name foo

More features can be found by typing man find and visiting this link