|| FreeBSD General Commands Manual
set or print name of current host system
|| [ -fs][ name-of-host]
utility prints the name of the current host. The super-user can set the hostname by supplying an argument; this is usually done in the initialization script
, normally run at boot time. This script uses the
Include domain information in the printed name. This is the default behavior.
Trim off any domain information from the printed name.
hostname command appeared in