HOSTNAMECTL(1) hostnamectl HOSTNAMECTL(1) NAME hostnamectl - SYNOPSIS hostnamectl [OPTIONS...] {COMMAND} hostnamectl "" "pretty" "Lennart's Laptop"(UTF-8) pretty()chassis()icon() /etc/machine-info machine-info(5) "static" "-","a-z","0-9" "lennarts-laptop" "" /etc/hostname hostname(5) "transient" fallback "-","a-z","0-9" "static""localhost" "transient" systemd-firstboot(1) ()(hostname) --no-ask-password --static, --transient, --pretty status () set-hostname () -H, --host= (hostname) "username@hostname" hostname () "hostname:container" SSH machinectl -H HOST -M, --machine= -h, --help --version status set-hostname NAME NAME --static, --transient, --pretty pretty, static, transient pretty static/transient static/transient pretty "-" "-","a-z","0-9" static/transient pretty static/transient pretty ( "localhost") set-icon-name NAME NAME [1] ("") set-chassis TYPE TYPE "desktop"(), "laptop"(), "server"(), "tablet"(), "handset"(), "watch"(), "embedded"(), "vm"(), "container"() () set-deployment ENVIRONMENT ENVIRONMENT "development"(), "integration"(), "staging"(), "production"() () set-location LOCATION LOCATION "XX3E23U7" () 0 systemd(1), hostname(1), hostname(5), machine-info(5), systemctl(1), systemd-hostnamed.service(8), systemd-firstboot(1) NOTES 1. http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec- latest.html man http://www.jinbuguo.com man https://github.com/man-pages-zh/manpages- zh systemd 231 HOSTNAMECTL(1)