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) - opensolaris
clear_locks(1m) - php
clear_locks(1m) - opendarwin
clear_locks(1m) - plan9
clear_locks(1m) - debian
Similar Topics in the Unix Linux Community
gethostbyname_r returns NULL when hostname has dash
FQDN into domain name and hostname
How to extract hostname from file using awk?
Script Shell Extracting hostname
AIX Syslog where the hostname sit