Manual pages › BSD versions of commands (1B)
hostname(1B)
set or print name of current host system
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
Also by this name: hostname(1), General commands
NAME
hostname - set or print name of current host system
SYNOPSIS
/usr/ucb/hostname [ name-of-host ]
DESCRIPTION
The 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.
SEE ALSO
uname(1) in the User's Reference Manual.