Skip Navigation Links | |
Exit Print View | |
man pages section 1: User Commands 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:
|