*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: hostid | Section: 1 | Source: Digital UNIX | File: hostid.1.gz
hostid(1) General Commands Manual hostid(1) NAME hostid - Sets or displays the identifier of the local host SYNOPSIS /usr/sbin/hostid [hexadecimal_number|internet_address] DESCRIPTION The hostid command displays the identifier (either a unique hostname or a numeric argument) of the local host as a hexadecimal number. The identifier must be unique across all hosts and is commonly set to the Internet address of the specified host. The superuser can set the host ID by specifying an internet_address or hexadecimal_number argument. EXAMPLES To display the identifier of the local host, enter: $ hostid 0xc009c803 The hostid command displays the identifier of the host as a hexadecimal number. To set the identifier of the local host to the local Internet address, enter: $ hostid 555.5.55.555 The hostid command converts the Internet address to its hexadec- imal equivalent, and then sets the local host to this address. Note that the sample Internet address in this example, 555.5.55.555, is not a valid Internet address and would cause hostid to return an error. SEE ALSO Commands: hostname(1) Functions: gethostid(2), sethostid(2) hostid(1)

Navigation Options