summaryrefslogtreecommitdiff
path: root/util/sbase/hostname.1
diff options
context:
space:
mode:
Diffstat (limited to 'util/sbase/hostname.1')
-rw-r--r--util/sbase/hostname.118
1 files changed, 18 insertions, 0 deletions
diff --git a/util/sbase/hostname.1 b/util/sbase/hostname.1
new file mode 100644
index 00000000..601aef9d
--- /dev/null
+++ b/util/sbase/hostname.1
@@ -0,0 +1,18 @@
+.Dd October 8, 2015
+.Dt HOSTNAME 1
+.Os sbase
+.Sh NAME
+.Nm hostname
+.Nd set or print host name
+.Sh SYNOPSIS
+.Nm
+.Op Ar name
+.Sh DESCRIPTION
+.Nm
+sets the current host name to
+.Ar name .
+If no
+.Ar name
+is given, the current host name is written to stdout.
+.Sh SEE ALSO
+.Xr hostname 7