The find command is used in Linux to search for files in the directory tree starting from the location specified. It searches your filesystem live, which causes the command to run slower than the locate command.
The syntax of the command is:
find PATH EXPRESSION
The expression is a way of specifying what you want to find. You can search files by filename, size, permissions, group, UID, etc.
We will go through a couple of examples. To find all files and directory that begin with so in our current directory, we can use the following command: