hostname(1) opensolaris man page | unix.com

Man Page: hostname

Operating Environment: opensolaris

Section: 1

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.11 14 Sep 1992 hostname(1)
Related Man Pages
clear_locks(1m) - sunos
clear_locks(1m) - centos
clear_locks(1m) - plan9
clear_locks(1m) - debian
clear_locks(1m) - osx
Similar Topics in the Unix Linux Community
Configure DNS
changing ip and hostname on solaris
gethostbyname_r returns NULL when hostname has dash
How to show hostname infor after login
Resolve IP to Hostname?