Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hostname(TC) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostname(SLIB)

sethostname(SLIB)

uname(C)


 hostname(TC)                    19 June 1992                    hostname(TC)


 Name

    hostname - set or print name of current host system

 Syntax

    hostname [-s] [ nameofhost ]

 Description

    hostname prints the name of the current host.  The super-user can set the
    hostname by giving an argument; this is usually done at boot time in the
    network initialization script.  The -s option trims any domain informa-
    tion from the printed name.

 See also

    gethostname(SLIB), sethostname(SLIB), uname(C).


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