title: How do we print self name of unix server?
body: <p>My server name is <strong>a1234.xyz.com</strong> and i am logged in the server.
  I have requirement of printing the server name within a shell script.</p>
  
  <p>how to print the server name using UNIX command?</p>