共计 82 个字符,预计需要花费 1 分钟才能阅读完成。
1 查看主机名
$ hostname
2 批改主机名
$ hostnamectl set-hostname 主机名
$ hostnamectl set-hostname mycomputer
正文完
共计 82 个字符,预计需要花费 1 分钟才能阅读完成。
$ hostname
$ hostnamectl set-hostname 主机名
$ hostnamectl set-hostname mycomputer