TrumanWong

hostid

Displays the hexadecimal numeric identifier of the current host.

Summary

hostid [OPTION]...

The main purpose

  • Displays the hexadecimal identifier of the current host.
  • Used to limit software usage rights and cannot be changed.

Options

--help Display help information and exit.
--version Display version information and exit.

example

[root@localhost ~]# hostid
007f0100

Notice

  1. This command is a command in the GNU coreutils package. For related help information, please see man -s 1 hostid, info coreutils 'hostid invocation'.