summaryrefslogtreecommitdiff
path: root/hostname/hostname.1
blob: 94e12eb0c080693925871d5c3fa1c7c68c0c1edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.Dd April 22, 2022
.Dt GETCONF 1 "Base Commands Manual"
.Os "Adélie Linux"
.Sh NAME
.Nm hostname
.Nd get or set node name
.Sh SYNOPSIS
.Nm
.Nm
.Op Fl F Ar filename
.Ar name
.Sh DESCRIPTION
In the first form, the
.Nm
utility prints the current node name on the running system.
.Pp
In the second form, the
.Nm
utility sets the currenet node name to the value specified.
.Sh OPTIONS
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr gethostname 3 ,
.Xr getaddrinfo 3 ,
.Xr getnameinfo 3 .
.Sh STANDARDS
The eventual goal for the
.Nm
utility is full conformance to LSB 5.0.
.Sh AUTHORS
.An A. Wilcox
.Aq awilfox@adelielinux.org
.Sh BUGS
Documentation is incomplete.  NIS/YP domain name support is not available
in this release.  Long options accepted by net-tools are not accepted.