Linux hostid command
Updated: 05/04/2019 by Computer Hope
On Unix-like operating systems, the hostid command the host identification number for the system. This unique number is based on the machine's IP address, and is represented in hexadecimal.
This page describes the GNU/Linux version of hostid.
Syntax
hostid [option]
Options
--help | Display help, and exit. |
--version | Display version information, and exit. |
Examples
hostid
Performing the command above would display the current host's numerical id, for example:
46a603ch
Related commands
hostname — Print the numeric identifier for the current host.