hostname(1) User Commands hostname(1)
NAME
hostname - set or print name of current host system
SYNOPSIS
/usr/bin/hostname [name-of-host]
DESCRIPTION
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.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
uname(1), attributes(5)
SunOS 5.10 14 Sep 1992 hostname(1)