LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Some questions about uname, hostname

[ILUG] Some questions about uname, hostname

Colin Rooney colin.rooney at gmail.com
Thu Jun 4 12:42:41 IST 2009


one04 or dub04?
man uname will tell you that one04 is the network "node" name
hostname returns the hostname ... the are usually the same but must not be.
No idea why they as they are on your machine... I guess you set them so? :)

google hostname nodename and you will find lots of references explaining the
difference and where values come from.

Colin

2009/6/4 <ollie at eillo.org>

> Hello Everyone,
>
> I have some questions about uname, hostname and /etc/hosts
>
> on a Linux box output of the commadn uname -a is:
>
> Linux one04 2.6.16.54 . . . . . .  #Im not typing the whole thing
>
> What exactly is dub04 and where does it come from?
>
> On the same box the output of the command "hostname" is "two04"
>
> In /etc/hosts only "two04" is present.
>
>  - The names are made up but correspond to the situation im seeing.
>  - This is some kind of Hi Availability system - im not sure what.
>
> In this case where could "two04" coming from and why is it different to
> what I see in uname -a?
>
> Im just trying to satisfy my curiosity :)
>
> Best Regards,
>
> Oliver.
>
>
>
>
>
>
>
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell