whereis
Syntax
whereis [options]
command
Options
-b
searches only for binaries.
-m
searches only for man pages.
-s
searches only for sources.
Description
The whereis
command searches the usual directories (where binaries, man pages, and source files are located) for binaries, man pages, and source files for a command. For example, here is the result of searching for the files for the rpm
command:
whereis rpm
rpm: /bin/rpm /usr/lib/rpm /usr/include/rpm /usr/man/man8/rpm.8