The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Printing hostname gbiswal UNIX for Dummies Questions & Answers 7 05-29-2008 05:17 AM
Hostname alias RPG HP-UX 2 09-21-2007 03:52 AM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 07:52 PM
looking up hostname dangral IP Networking 2 10-28-2003 12:56 PM
Hostname bache_gowda UNIX for Dummies Questions & Answers 1 09-22-2001 01:25 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-06-2008
Registered User
 

Join Date: Jan 2008
Location: London
Posts: 8
Hostname - System Name

Hello

Can anyone tell me the difference between a hostname and system name in UNIX?.

Rgds

D
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-06-2008
jsandova's Avatar
Registered User
 

Join Date: May 2006
Location: Burbank Ca
Posts: 22
I believe system name in solaris refers to the operating system name. The host name is the actual name of the server.
Reply With Quote
  #3 (permalink)  
Old 02-06-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
There is the output of the command "uname -n" which the docs call "nodename". Posix says: "nodename shall contain the name of this node within an implementation-defined communications network." And there is the output of the command "hostname" and Posix says nothing at all.

What we now call nodename came first and was not really standardized enough to be used in a real network. "hostname" was intended to be very standardized and matched to the Internet standards. Most people set them to the same thing.

The output of "uname -s" has nothing to do with either, it identifies the OS and this is what is called system name. Typical values are HP-UX or SunOS.
Reply With Quote
  #4 (permalink)  
Old 02-07-2008
Registered User
 

Join Date: Jan 2008
Location: London
Posts: 8
Ok , many thanks for the information.

D
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0