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.
查看英文版
查看中文版
目录
1 hostid 运行系统环境
2 hostid 语法
3 hostid 例子
hostid 运行系统环境
Unix&Linux
hostid 语法
hostid [option]
Options
--help
显示帮助,然后退出。
--version
显示版本信息,然后退出。
hostid [option]
Options
--help
display help, and exit.
--version
display version information, and exit.
查看英文版
查看中文版
hostid 例子
hostid
执行以上命令将显示当前主机的数字ID,例如:
46a603ch
hostid
Performing the above command would display the current host's numerical id, for example:
未知的网友