Hostname - System Name

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Hostname - System Name
# 1  
Old 02-06-2008
Hostname - System Name


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


# 2  
Old 02-06-2008
I believe system name in solaris refers to the operating system name. The host name is the actual name of the server.
# 3  
Old 02-06-2008
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.
# 4  
Old 02-07-2008
Ok , many thanks for the information.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

3. Shell Programming and Scripting

finding the hostname of a remote system

I know the ipaddress of a remote machine and would like to know its hostname I used the nslookup command but... is there an easier way of doing it... just like hostname command. When i give this command i get the following nslookup Server: Address: ... (2 Replies)
Discussion started by: ramky79
2 Replies

4. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

5. Solaris

how to set hostname

all of a sudden i am not able to get hostname of sparc server. all the settings are proper in hostname file.can anyone help me on this (1 Reply)
Discussion started by: grrajeish
1 Replies

6. UNIX for Dummies Questions & Answers

Change HostName

How to change host name in NCR Unix version 3.0 release 4.0 I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies

7. UNIX for Advanced & Expert Users

What hostname is a client using?

Is there a way to find out what name a client is using to connect to a server? For example: client is telnet'ing or ftp'ing to Server, using name (B and C resolve to the same IP). Can we, on the server B find out that the client used to connect? I have tried... (1 Reply)
Discussion started by: mugambo
1 Replies

8. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

9. IP Networking

looking up hostname

Using Solaris 8 (or WINXP). I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname? nslookup gives me the following: C:\>nslookup hostname Server: dnsserver Address: x.x.x.x *** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies

10. UNIX for Dummies Questions & Answers


Hello, I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow. ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
Login or Register to Ask a Question