Linux修改root@之后的名字

修改配置文件
vi /etc/hostname

然后重启才能生效,注意linux有各种重启方式,下面的是安全的重启
重启命令

reboot

猜你喜欢

转载自blog.csdn.net/A_234_789/article/details/107534892