4.3BSD-UWisc/man/man1/domainname.1

Compare this file to the similar file:
Show the results in this format:

.\" @(#)domainname.1 1.1 85/12/28 SMI;
.TH DOMAINNAME 1 "23 September 1985"
.SH NAME
domainname \- set or display name of current domain system
.SH SYNOPSIS
.B domainname
[ \fInameofdomain\fR ]
.SH DESCRIPTION
.IX "domainname command"  ""  "\fLdomainname\fP \(em set/display domain name"
.IX domain  "set or display current"
.IX "current domain"  "set or display"
.IX display  "current domain"
.IX set  "current domain"
Without an argument,
.I domainname
displays the name of the current domain.
Only the super-user can set the domainname by giving an argument;
this is usually done in the startup script
.IR /etc/rc.local .
Currently, domains are only used by the yellow pages, to refer
collectively to a group of hosts.
.SH SEE ALSO
ypinit(8)