How do I find my hostname and domain name in Linux?

Lượng Tiger

New member
How do I find my hostname and domain name in Linux?
Answer
It is usually the hostname followed by the DNS domain name (the part after the first dot). You can
check the FQDN using hostname –fqdn or the domain name using dnsdomainname. You cannot change the FQDN with hostname or dnsdomainname.
 

Tìm kiếm

Back
Top