summaryrefslogtreecommitdiff
path: root/hostname/hostname.1
diff options
context:
space:
mode:
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.