root@localhost:~# hostname
localhost
root@localhost:~# hostname -F /etc/hostname
root@localhost:~#
root@localhost:~#
root@localhost:~# hostname -f
hmaster.focus.cn
hostname 立即生效
猜你喜欢
转载自wangqiaowqo.iteye.com/blog/2013757
今日推荐
周排行