hostname

 


 
 
 
 User Commands                                         hostname(1)
 
 
 


NAME

hostname - set or print name of current host system

SYNOPSIS

/usr/bin/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.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | | Availability | SUNWcsu | |_____________________________|_____________________________|

SEE ALSO

uname(1), attributes(5) SunOS 5.8 Last change: 14 Sep 1992 1