您的位置:首页 > 运维架构 > Linux

linux命令之hostid

2014-11-28 09:06 141 查看
hostid:Print the numeric identifier (in hexadecimal) for the current host.

网上没有找到具体的解释信息

[root@pr ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:A6:A7:1C
inet addr:192.168.233.128  Bcast:192.168.233.255  Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fea6:a71c/64 Scope:Link


[root@pr ~]# hostid
a8c080e9


将192.168.233.128 转换成16进制就是 c0.a8.e9.80,好像找到规律了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: