NAME
domainname—Set or print domain of current host

SYNOPSIS
domainname [ name ]

DESCRIPTION
domainname prints the domain name of the current host, from the getdomainname(3) library call. If an argument is present and the effective UID is 0, domainname changes the name of the host, with the setdomainname(2) system call. This is usually done at boot time in the /etc/rc.local script.

If You Like What We Do Here On LinuxConcept, You Should Consider:

Stay Connected to: Twitter | Facebook

Subscribe to our email updates: Sign Up Now

 

We are thankful for your support.

Follow me