HOSTNAME(1)
NAME
hostname − set or print name of current host system
SYNOPSIS
hostname [ nameofhost ]
HP-UX COMPATABILITY
Level: HP-UX/STANDARD
Origin: UCB
DESCRIPTION
The hostname command prints the name of the current host, as given in the uname system call. The super-user can set the hostname by giving an argument; this is usually done in the startup script /etc/rc.
SEE ALSO
uname(1), gethostname(2), sethostname(2), uname(2).
Hewlett-Packard — last mod. May 11, 2021