Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-04-2009
RahulJoshi's Avatar
Registered User
 
Join Date: Aug 2008
Location: PUNE
Posts: 144
Thanks: 0
Thanked 1 Time in 1 Post
how to find server name

How to find server name , i need command .
Sponsored Links
    #2  
Old 08-04-2009
Registered User
 
Join Date: Jun 2009
Posts: 61
Thanks: 3
Thanked 0 Times in 0 Posts

Code:
uname -n
uname --help

Sponsored Links
    #3  
Old 08-04-2009
Registered User
 
Join Date: Oct 2008
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
hostname
    #4  
Old 08-04-2009
RahulJoshi's Avatar
Registered User
 
Join Date: Aug 2008
Location: PUNE
Posts: 144
Thanks: 0
Thanked 1 Time in 1 Post
this does not solve purpose

uname -n ==it gives machine name not server name
and
host name == gives current host system

I WANT TO KNOW SERVER NAME
Sponsored Links
    #5  
Old 08-04-2009
panyam panyam is offline Forum Advisor  
Registered User
 
Join Date: Sep 2008
Posts: 1,138
Thanks: 20
Thanked 101 Times in 96 Posts
What is the Difference between them ??
Sponsored Links
    #6  
Old 08-04-2009
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
Not enough information. Please state the Operating System of the computers involved and how you are connecting between them. Also please make it clear which is the client and which is the server.

If you know the IP address you can try looking up the name with "nslookup".
See:

Code:
man nslookup

Sponsored Links
    #7  
Old 08-04-2009
Registered User
 
Join Date: Jul 2009
Posts: 265
Thanks: 7
Thanked 2 Times in 2 Posts
maybe you mean server model..
try (solaris)

Code:
prtdiag

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to find a non-keon server trichyselva UNIX for Advanced & Expert Users 0 05-29-2008 05:04 AM
Find server details lalelle Solaris 1 02-04-2008 12:27 PM
Need to find whether my unix server is a stand alone server or its in a cluster Naveen Kumar V Solaris 1 09-06-2007 06:35 AM
How to find NFS server vigsgb UNIX for Dummies Questions & Answers 1 07-22-2005 04:44 AM
How to find i.p address of our server vpotluri UNIX for Dummies Questions & Answers 4 09-23-2002 02:09 PM



All times are GMT -4. The time now is 05:30 AM.