Jump to content

whereis

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Alextejthompson (talk | contribs) at 11:24, 5 November 2016 (→‎Analogs: typo fixing, replaced: Massachussetts → Massachusetts using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


whereis, a Unix command, can locate some special files of a Unix command like the binary, source and manual page files.

The whereis man page provides the following sample usage:

% # Find all files in /usr/bin which are not documented in /usr/man/man1 with source in /usr/src:
% cd /usr/bin
% whereis -u -M /usr/man/man1 -S /usr/src -f *

Analogs

Unix type command is similar, but it identifies aliases.

Modern versions of Microsoft Windows feature a similar command: where.[1]

See also

References

  1. ^ Bhardwaj, Pawan K. (2006). "Locating Files with the Where Command". How to Cheat at Windows System Administration Using Command Line Scripts. How to Cheat. Rockland, Massachusetts: Syngress. p. 207. ISBN 978-0-08-050826-9. Retrieved 2016-07-05. […] the Where command […] is equivalent to using the Search option in the Start menu.