Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostname(2)

sethostname(2)

hostname(1)

Name

hostname − print system name

Syntax

hostname [nameofhost]

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.

See Also

gethostname(2), sethostname(2)

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