2005-05-02 15:01:42 +02:00
|
|
|
.TH WHEREIS 1
|
|
|
|
.SH NAME
|
|
|
|
whereis \- examine system directories for a given file
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBwhereis \fIfile\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B whereis stat.h
|
|
|
|
# Prints: \fI/usr/include/sys/stat.h\fR
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\fIWhereis\fR searches a fixed set of system
|
|
|
|
directories, \fI/bin\fR, \fI/lib\fR, \fI/usr/bin\fR,
|
|
|
|
and others, and prints all occurrences of the argument name in any of them.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR man (1),
|
|
|
|
.BR which (1).
|