The find command searches for files based on different factors such as name, size, permissions, etc. Here is the basic command :
find <directory> <file>?
For example, let’s find a
Linux.txt
file located in the Downloads directory through the below command :
find ~/Downloads -name Linux.txt?
Once you run the above command, the find command will start finding the
Linux.txt
in the Downloads directory and subdirectories.