在Ubuntu系统中,可以通过以下几种方法查看hostname:
Ctrl + Alt + T
hostnamectl
或者
cat /etc/hostname
/etc/hostname
/etc/hosts
希望这些方法能帮助你成功查看Ubuntu的hostname!