Locating another command or program (whereis command)
The whereis command locates the source, binary, and manuals sections for specified files. The command attempts to find the desired program from a list of standard locations.
See the following examples:
- To find files in the current directory that have no documentation, type
the following:
whereis -m -u *
- To find all of the files that contain the name Mail, type the
following:
The system displays information similar to the following:whereis Mail
Mail: /usr/bin/Mail /usr/lib/Mail.rc