rdist chown/chgrp security problem; bug report net2/usr.bin/2
[unix-history] / usr / src / usr.bin / whois / whois.1
CommitLineData
9313def3 1.\" Copyright (c) 1985, 1990 The Regents of the University of California.
ca8deeb5 2.\" All rights reserved.
6be9699a 3.\"
9313def3 4.\" %sccs.include.redist.roff%
ca8deeb5 5.\"
a19b380d 6.\" @(#)whois.1 6.7 (Berkeley) %G%
6be9699a 7.\"
9313def3 8.Dd
a19b380d 9.Dt WHOIS 1
9313def3
CL
10.Os BSD 4.3
11.Sh NAME
12.Nm whois
13.Nd Internet user name directory service
14.Sh SYNOPSIS
15.Nm whois
16.Op Fl h Ar hostname
17.Ar name ...
18.Sh DESCRIPTION
19.Nm Whois
20looks up records in the Network Information Center
21.Pq Tn NIC
5e795b22 22database.
9313def3 23.Pp
5e795b22 24The options are as follows:
9313def3
CL
25.Bl -tag -width Ds
26.It Fl h
5e795b22 27Use the specified host instead of the default NIC (nic.ddn.mil).
9313def3
CL
28.El
29.Pp
5e795b22 30The operands specified to
9313def3 31.Nm whois
5e795b22
KB
32are concatenated together (separated by white-space) and presented to
33the
9313def3 34.Nm whois
5e795b22 35server.
9313def3 36.Pp
5e795b22 37The default action, unless directed otherwise with a special
9313def3 38.Ar name ,
5e795b22 39is to do a very broad search, looking for matches to
9313def3 40.Ar name
5e795b22
KB
41in all types of records and most fields (name, nicknames, hostname, net
42address, etc.) in the database.
43For more information as to what
9313def3 44.Ar name
5e795b22 45operands have special meaning, and how to guide the search, use
9313def3
CL
46the special name
47.Dq Ar help .
48.Sh SEE ALSO
5e795b22 49RFC 812: Nicname/Whois
9313def3
CL
50.Sh HISTORY
51The
a19b380d 52.Nm whois
9313def3
CL
53command appeared in
54.Bx 4.3 .