《问》Can you tell me about Ubuntu Linux change hostname command?

《问》

Ubuntu Linux Change Hostname (computer name)

Display the current Ubuntu hostname

hostname

Ubuntu change hostname command

sudo nvim /etc/hostname
sudo nvim /etc/hosts
sudo reboot

Comments

Popular posts from this blog

Ruby语言的设计思想

Ruby语言比较讲座:单引号和双引号的比较

Ruby语言经典代码讲座:理解方法