The whereis command in Linux is used to locate the binary, source, and manual page files for a command. This command searches for files in a restricted set of locations (binary file directories, man page directories, and library directories).
What is the Whereis command in Linux?
whereis is a command-line utility that allows you to find the location of the binary, source, and manual page files for a given command.
How do I locate in Linux?
The 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.