HOSTNAME(1) User Commands HOSTNAME(1)

hostnameset or print name of current host system

hostname [-s] [name-of-host]

The hostname command prints the name of the current host, as given before the login(1) prompt. The super-user can set the hostname by giving name-of-host.

Prints only the part of the hostname preceding the first dot.

uname(1), attributes(7)

May 12, 2016 OmniOS