pavement

Whereis

From FreeBSDwiki
Revision as of 12:37, 10 November 2007 by Jimbo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Very much like where except that it will search for any program and show you not only where the program itself is, but also where any source code and/or man pages related to that program are in the standard path:

samizdata# whereis time
time: /usr/bin/time /usr/share/man/man1/time.1.gz /usr/src/usr.bin/time
samizdata#

See also: where, which, whatis, apropos

Personal tools