Name

whereis - Locate source, binary, and/or manual files

Syntax

whereis [ -sbm ] name

Description

Whereis locates source files, programs, and sections of the manuals for specified files. The supplied names are first stripped of leading pathname components and any trailing extension of the form “.ext”; e.g., .c. Whereis then attempts to locate the desired program in a list of standard places. If any of the -b, -s, or -m option flags are given, whereis searches only for the designated option or combination of options; binaries, sources or manual sections, respectively.

Example

The following example finds all files associated with the Conference System:

whereis -sbm cs

Files

$/etc/rsrc/man.rsrc
order and names of manual sections

See Also

find(C), man(CT), whatis(CT)