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
Examples
hostid
Performing the command above would display the current host’s numerical id, for example:
- Syntax
- Examples
- Related commands
- Linux commands help
46a603ch
Related commands
hostname — Print the numeric identifier for the current host.