Google News
logo
Linux - Interview Questions
What is the find command, and how do you use it?
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.
Advertisement