Find command is used for search operation to locate files, directories, and links.Find looks for files in the specified directory and all of its subdirectories. It uses the current folder if you do not supply a path on the command line. When it performs a search, UNIX checks each item to determine if it fits your criteria.
Syntax for the find command is

Example of find command


It displayed all the files which have the word "file" in the file name.

Here "inf" is the directory
Syntax for the find command is
Example of find command
- Find a file using file name.

- Find files for a specific word in its name.

It displayed all the files which have the word "file" in the file name.
- Find files in a specific directory.

Here "inf" is the directory