hostname(TC)
hostname --
set or print name of current host system
Syntax
hostname [ -s ] [ nameofhost ]
Description
hostname prints the name of the current host.
root 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 information from the printed name.
See also
hostname(ADMN),
gethostname(SLIB),
sethostname(SLIB),
uname(C).
Standards conformance
hostname is conformant with X/Open Portability Guide, Issue 4, 1992.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003