Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

gettable — Get DoD Internet Format Host Table from a Host

Synopsis

/usr/sbin/gettable host
					

Description

Use the gettable command to obtain the DoD Internet host table from a host-name server. The specified host is queried for the table. The table is placed in the file hosts.txt.

gettable operates by opening a TCP connection to the port indicated in the service specification for host name. 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(1M) command, which converts the DoD Internet host table format to that used by the network library lookup routines.

Note

gettable should allow requests for only part of the database.

Example

The following example ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book