1hostname(1) User Commands hostname(1)
2
3
4
6 hostname - set or print name of current host system
7
9 /usr/bin/hostname [name-of-host]
10
11
13 The hostname command prints the name of the current host, as given
14 before the login prompt. The super-user can set the hostname by giving
15 an argument.
16
18 See attributes(5) for descriptions of the following attributes:
19
20
21
22
23 ┌───────────────────────────────────────────────────────────┐
24 │ATTRIBUTE TYPE ATTRIBUTE VALUE │
25 │Availability SUNWcsu │
26 └───────────────────────────────────────────────────────────┘
27
29 uname(1), attributes(5)
30
31
32
33SunOS 5.11 14 Sep 1992 hostname(1)