How do I find my domain name Unix?

How do I find my domain name Unix?
Answer
domainname command in Linux is used to return the Network Information System (NIS) domain name of the host. You can
use hostname -d command as well to get the host domainname. If the domain name is not set up in your host then the response will be “none”.
 

Tìm kiếm

Back
Top