date and time created 87/02/05 15:19:17 by slatteng
[unix-history] / usr / src / usr.bin / whatis / whatis.1
CommitLineData
ff5e54c1
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
c004a4b5 5.\" @(#)whatis.1 6.3 (Berkeley) %G%
ff5e54c1 6.\"
5e1ce5c1 7.TH WHATIS 1 ""
ff5e54c1
KM
8.UC 4
9.SH NAME
10whatis \- describe what a command is
11.SH SYNOPSIS
12.B whatis
13command ...
14.SH DESCRIPTION
15.I Whatis
9599c24a 16looks up a given command and gives the header line from the manual section.
ff5e54c1
KM
17You can then run the
18.IR man (1)
19command to get more information.
20If the line starts `name(section) ...' you can do
21`man section name' to get the documentation for it.
22Try `whatis ed' and then you should do `man 1 ed' to get the manual.
23.PP
24.I Whatis
25is actually just the
26.B \-f
27option to the
28.IR man (1)
29command.
30.SH FILES
31.DT
8fd02ef7 32/usr/man/whatis Data base
ff5e54c1 33.SH "SEE ALSO"
9599c24a 34man(1), catman(8)