BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / hostid.0
HOSTID(1) UNIX Programmer's Manual HOSTID(1)
N\bNA\bAM\bME\bE
h\bho\bos\bst\bti\bid\bd - set or print identifier of current host system
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
h\bho\bos\bst\bti\bid\bd [hexnum or internet address]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bH_\bo_\bs_\bt_\bi_\bd prints the identifier of the current host in hexade-
cimal. This numeric value is expected to be unique across
all hosts and is commonly set to the host's Internet
address. The super-user can set the hostid by giving a hex-
adecimal argument or the hostname; this is usually done in
the startup script /_\be_\bt_\bc/_\bn_\be_\bt_\bs_\bt_\ba_\br_\bt.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
gethostid(2), sethostid(2)
Printed 7/9/88 July 9, 1988 1