whereis
whereis is a Unix command used to locate some special files of a Unix command like the binary, source and manual page files. Unix type
is usually preferred to locate a binary file, because it is POSIX and it can identify shell aliases.
Here is an example usage from the man page:
# 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 *
External links
See also
- List of Unix utilities
- command (shell builtin)
- which (Unix)
- type (Unix)
- hash (Unix)
|
This article is issued from Wikipedia - version of the Tuesday, May 12, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.