3.0;host, revision 3.0, 86/11/18
HOST -- Display TCP/IP host map information.
usage: HOST [host|internet_address [, netname | netnumber] ...]
FORMAT
HOST [host | internet_address[, netname | number] ...]
The HOST command displays information from the TCP/IP host map table file,
/sys/tcp/hosts.hst. This command displays the following information for each
host that you specify:
Name
Any alias names
Internet address
Host communication protocol (hostcap) type; 1 = TCP
Supported protocols
If the host has more than one Internet address (that is, it's a gateway), the
HOST command lists the addresses and protocols for all networks.
ARGUMENTS
If no arguments are specified, HOST displays information for the host on which
you are logged in.
host
(optional) The TCP/IP name or alias of the host for which you want
information.
internet_address
(optional) The Internet address of the host for which you want the
information in the form w.x.y.z, where w, x, y, and z are
decimal numbers between 0 and 255.
netname
(optional) The network name of the network of the host for which you
want the information.
netnumber
(optional) The network number for the network of the host for which
you want the information.
EXAMPLES
The following example displays the host map information for the host ARAN.
$ host aran
aran rodian : 194.6.4.2 hostcap=1 tcp/ftp tcp/telnet