.TH HOSTNAME 1 "13 March 1982" .UC 4 .SH NAME hostname \- set or print name of current host system .SH SYNOPSIS .B hostname [ nameofhost ] .SH DESCRIPTION The .I 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; this is usually done in the startup script /etc/rc.local. .SH SEE ALSO gethostname(2), sethostname(2)