Sample Header Ad - 728x90

How to get the hostname along with the domain name?

23 votes
9 answers
168594 views
In Unix (Solaris) is there any command that returns the hostname and domain name together? For instance: hostname -> servername domainname -> us.xyz.com I need : servername.us.xyz.com
Asked by Vikas
May 8, 2012, 05:05 PM
Last activity: Apr 5, 2024, 08:10 AM