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

Conor Wynne mariconor at gmail.com
Thu Jun 4 12:51:33 IST 2009


ollie at eillo.org wrote:
> 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
Copy paste :-)
>
> What exactly is dub04 and where does it come from?
Probably dhcp.
>
> On the same box the output of the command "hostname" is "two04"
>
> In /etc/hosts only "two04" is present.
Check /etc/sysconfig/network as there may be a different hostname
defined in there.
>
>  - 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?
You can use hostname to change the, er, hostname ;-0
>
> Im just trying to satisfy my curiosity :)
>
> Best Regards,
>
> Oliver.

Conor.




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