linux command line: find a host's canonical hostname

Posted by flybywire on Server Fault See other posts from Server Fault or by flybywire
Published on 2010-03-16T08:28:47Z Indexed on 2010/03/16 8:36 UTC
Read the original article Hit count: 323

Filed under:
|
|
|

what is the easiest way to get a host's canonical host name from linux's command line?

If it matters, my shell is bash.

© Server Fault or respective owner

Related posts about dns

Related posts about hostname