hostid - Unix, Linux Command



NAME

hostid print the numeric identifier for the current host

SYNOPSIS

hostid [OPTION]

DESCRIPTION

Print the numeric identifier (in hexadecimal) for the current host.

OPTIONS

TAG DESCRIPTION
--help display this help and exit.
--version output version information and exit.

EXAMPLES

Example-1:

To display the current host's numerical id:

$ hostid

output:

007f0101

Print
Advertisements