DOMAINNAME(1) BSD General Commands Manual DOMAINNAME(1)NAMEdomainname — set or print the name of the current domain
SYNOPSISdomainname [name-of-domain]
DESCRIPTION
Domainname prints the domain name of the current host. The super-user
can set the domain name by supplying an argument.
SEE ALSOhostname(1), getdomainname(2), setdomainname(2)HISTORY
The domainname command appeared in 4.2BSD.
4.2 Berkeley Distribution July 27, 1991 4.2 Berkeley Distribution