[Next] [Previous] [Up] [Top] [Contents]

4.1 System Resources

4.1.6 whereis - report program locations

whereis reports the filenames of source, binary, and manual page files associated with command(s).

Syntax

whereis [options] command(s)

Common Options

-b report binary files only

-m report manual sections only

-s report source files only

Examples

brigadier: condron [69]> whereis Mail

Mail: /usr/ucb/Mail /usr/lib/Mail.help /usr/lib/Mail.rc /usr/man/man1/Mail.1

brigadier: condron [70]> whereis -b Mail

Mail: /usr/ucb/Mail /usr/lib/Mail.help /usr/lib/Mail.rc

brigadier: condron [71]> whereis -m Mail

Mail: /usr/man/man1/Mail.1


Introduction to Unix - 14 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]