hostname --
set or print name of current host system
Synopsis
/usr/ucb/hostname [ -s ] [ nameofhost ]
Description
hostname prints the name of the current host.
root can set the hostname by giving an argument;
this is usually done at boot time in the network
initialization script. The -s option trims any
domain information from the printed name.