Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostname(2)

HOSTNAME(1)  —  USER COMMANDS

NAME

hostname − set or print name of current host system

SYNOPSIS

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; this is usually done in the startup script /etc/rc.local. 

FILES

/etc/rc.local

SEE ALSO

gethostname(2)

Sun Release 4.0  —  Last change: 9 September 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026