summaryrefslogtreecommitdiff
path: root/hostname/hostname.1
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-18 02:56:49 +0000
committerZach van Rijn <me@zv.io>2022-05-18 02:56:49 +0000
commit3743d9feaae50465f0b08ae8a30cad1de2110c9b (patch)
treede608960f5ad0a417a53d7fc3aff5a3c00773620 /hostname/hostname.1
parentdbd74ddb26b5a0494ed2f075e886e3450a7ede7b (diff)
parente65c2374fe0b8fa952bab270213723454ec067b4 (diff)
downloadshimmy-3743d9feaae50465f0b08ae8a30cad1de2110c9b.tar.gz
shimmy-3743d9feaae50465f0b08ae8a30cad1de2110c9b.tar.bz2
shimmy-3743d9feaae50465f0b08ae8a30cad1de2110c9b.tar.xz
shimmy-3743d9feaae50465f0b08ae8a30cad1de2110c9b.zip
Merge branch 'add-hostname' into 'current'
Add hostname(1) implementation See merge request adelie/shimmy!1
Diffstat (limited to 'hostname/hostname.1')
-rw-r--r--hostname/hostname.136
1 files changed, 36 insertions, 0 deletions
diff --git a/hostname/hostname.1 b/hostname/hostname.1
new file mode 100644
index 0000000..94e12eb
--- /dev/null
+++ b/hostname/hostname.1
@@ -0,0 +1,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.