HOSTNAME(1)
NAME
hostname − set or print name of current host system
SYNOPSIS
hostname [ nameofhost ]
DESCRIPTION
The hostname command prints the name of the current host, as given in the gethostname(2) system call. The superuser can set the hostname by giving the argument nameofhost; this is usually done in the startup script /etc/rc. See the node manager’s documentation supplied with your system for details on how this name is used.
AUTHOR
Hostname was developed by the University of California, Berkeley.
SEE ALSO
uname(1), gethostname(2), sethostname(2), uname(2).
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989