What is the command to check domain name in Linux?

What is the command to check domain name in Linux?
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