.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)hostname.1 6.1 (Berkeley) %G%
hostname \- set or print name of current host system
command prints the name of the current host, as given before the
The super-user can set the hostname by giving an argument; this
is usually done in the startup script /etc/rc.local.
gethostname(2), sethostname(2)