This article covers the whereis command which is useful for Locating the binaries and manual pages for various commands. Sometimes, while working on the command line, we just need to quickly find out the location of the binary file for a command.
Linux whereis command syntax
The whereis command lets users locate binary, source, and manual page files for a command. Following is its syntax:
$ whereis [options] [-BMS directory... -f] name...