gettable(ADMN)
gettable --
get NIC format host tables from a host
Syntax
/etc/gettable [ -v ] host [ outfile ]
Description
gettable is a simple program used to obtain the
NIC standard host tables from a ``nicname''
server. The indicated host is queried for the
tables. The tables, if retrieved, are placed in the file
outfile or by default, hosts.txt.
The -v option will get just the version number
instead of the complete host table and put the output in
the file outfile or by default,
hosts.ver.
gettable operates by opening a TCP
connection to the port indicated in the service
specification for ``nicname''. A request is then made for
``ALL'' names and the resultant information is
placed in the output file.
gettable is best used in conjunction with the
htable(ADMN)
program which converts the NIC standard file
format to that used by the network library lookup
routines.
See also
Intro(SLIB),
htable(ADMN),
named(ADMN)
Standards conformance
gettable is conformant with RFC 952
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003