src/world/bin/domainname/man/domainname.1

33 lines
601 B
Groff

.Dd 2020-10-28
.Dt DOMAINNAME 1
.Os HitchHiker Linux
.Sh NAME
.Nm domainname
.Nd set or print domain of the current host
.Sh SYNOPSIS
.Nm
.Op Ar name-of-domain
.Sh DESCRIPTION
.Nm
prints the domain name of the current host.
The super-user can also set the domain name by supplying an argument.
.Sh SEE ALSO
.Xr hostname 1 ,
.Xr getdomainname 3 ,
.Xr setdomainname 3
.Sh EXIT STATUS
.Ex -std domainname
.Sh AUTHOR
Written by the JeanG3nie for HitchHiker Linux
.Sh HISTORY
The
.Nm
utility is derived from the
.Nm hostname
utility, which first appeared in
.Bx 4.2 .
The
.Nm
utility appeared in
.Nx 0.8 .