Commit | Line | Data |
---|---|---|
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 | |
10 | whatis \- describe what a command is | |
11 | .SH SYNOPSIS | |
12 | .B whatis | |
13 | command ... | |
14 | .SH DESCRIPTION | |
15 | .I Whatis | |
9599c24a | 16 | looks up a given command and gives the header line from the manual section. |
ff5e54c1 KM |
17 | You can then run the |
18 | .IR man (1) | |
19 | command to get more information. | |
20 | If the line starts `name(section) ...' you can do | |
21 | `man section name' to get the documentation for it. | |
22 | Try `whatis ed' and then you should do `man 1 ed' to get the manual. | |
23 | .PP | |
24 | .I Whatis | |
25 | is actually just the | |
26 | .B \-f | |
27 | option to the | |
28 | .IR man (1) | |
29 | command. | |
30 | .SH FILES | |
31 | .DT | |
8fd02ef7 | 32 | /usr/man/whatis Data base |
ff5e54c1 | 33 | .SH "SEE ALSO" |
9599c24a | 34 | man(1), catman(8) |