HOSTNAME(1)

NAME
hostname - set or print name of current host

SYNOPSIS
hostname [ host ]

DESCRIPTION
hostname prints the name of the current host, from the gethostname(2) system call. If an argument is present and the real or effective UID is 0, hostname changes the name of the host, with the sethostname(2) system call. This is usually done at boot time in the /etc/rc.local script.

FILES
/etc/rc.local

SEE ALSO
gethostname(2), sethostname(1)

AUTHOR
Peter Orbaek (poe@daimi.aau.dk)