跳过导航链接 | |
退出打印视图 | |
手册页第 1 部分:用户命令 Oracle Solaris 11 Information Library (简体中文) |
- set or print name of current host system
/usr/bin/hostname [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.
See attributes(5) for descriptions of the following attributes:
|