跳过导航链接 | |
退出打印视图 | |
手册页第 1 部分:用户命令 Oracle Solaris 11.1 Information Library (简体中文) |
- set or print name of current host system
/usr/bin/hostname [[-t] name-of-host]
The hostname command prints the name of the current host, as given before the login prompt. The super-user can set the hostname by giving an argument. The change of the hostname is permanent unless the -t option is specified.
See attributes(5) for descriptions of the following attributes:
|