The find Utility
Learn about the `find` utility in detail.
We'll cover the following...
We'll cover the following...
find
It’s inconvenient to search for a file or directory with the cd and ls commands. The special find utility does it better.
If we run the find utility without parameters, it traverses the contents of the current directory and prints it. The output includes hidden objects.
Connect the following terminal and run find. The output will have the contents of the home directory.
Finding the required file
The first parameter of find is the directory to search in. The utility accepts relative and absolute paths. For example, the following command shows the contents of the root directory:
find /
We can specify search conditions starting from ...