Step1 查看主机名
hostname
Step2 修改主机名
hostnamectl set-hostname 主机名
Step3 再次查看主机名
无需重启只需新开会话便可变为新的主机名
rEu.r>Tab94!