Linux FAQ: Can you share some examples of how to use the Linux locate command?
locate command is used to find files by their filename. The
locate command is lightning fast because there is a background process that runs on your system that continuously finds new files and stores them in a database. When you use the
locate command, it then searches that database for the filename instead of searching your filesystem while you wait (which is what the
find command does).