DOMAINNAME(1) — USER COMMANDS
NAME
domainname − set or display name of current domain system
SYNOPSIS
domainname [ nameofdomain ]
DESCRIPTION
With no arguments, domainname displays the name of the current domain. The yellow pages use the domain to refer to a group of hosts.
Only the super-user can set the domainname by giving an argument; this is usually done in the startup script /etc/rc.local.
SEE ALSO
getdomainname(2), setdomainname(2), ypinit(8)
Sun Release 2.0 — Last change: 1 February 1985