Often you know that there exists a specific directory on your system, but you just can’t seem to locate it anywhere. Enter the useful find statement, a generic workhorse that you will most certainly find on almost all *nix distributions!

To locate a specific directory by name, simply run:

sudo find / -name directoryname -type d

This will print out the list of matching directory paths that can be located on the system. Note that the sudo isn’t strictly necessary, but helps if you suspect the folder to be lurking in one of the system protected directories!

Nifty.