opensolaris man page for hostname

Query: hostname

OS: opensolaris

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
check-hostname(1m) - sunos
clear_locks(1m) - suse
clear_locks(1m) - minix
clear_locks(1m) - opendarwin
clear_locks(1m) - mojave
Similar Topics in the Unix Linux Community
changing ip and hostname on solaris
Hostname displays incorrectly
gethostbyname_r returns NULL when hostname has dash
Script Shell Extracting hostname
DNS problem : ping doesn't recognize hostname