hostname(1)hostname(1)Namehostname - print system name
Syntaxhostname [nameofhost]
Description
The 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; this is usually done in the startup script
See Alsogethostname(2), sethostname(2)hostname(1)