Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

how to find server name

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-04-2009
RahulJoshi's Unix or Linux Image
RahulJoshi RahulJoshi is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 13 September 2013, 10:47 AM EDT
Location: PUNE
Posts: 146
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 Unix and Linux 08-04-2009
johnbach johnbach is offline
Registered User
 
Join Date: Jun 2009
Last Activity: 21 April 2011, 4:33 AM EDT
Posts: 61
Thanks: 3
Thanked 0 Times in 0 Posts

Code:
uname -n
uname --help

Sponsored Links
    #3  
Old Unix and Linux 08-04-2009
sai21 sai21 is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 8 October 2009, 8:14 AM EDT
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
hostname
    #4  
Old Unix and Linux 08-04-2009
RahulJoshi's Unix or Linux Image
RahulJoshi RahulJoshi is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 13 September 2013, 10:47 AM EDT
Location: PUNE
Posts: 146
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 Unix and Linux 08-04-2009
panyam panyam is offline Forum Advisor  
Registered User
 
Join Date: Sep 2008
Last Activity: 8 December 2014, 6:40 AM EST
Posts: 1,159
Thanks: 20
Thanked 105 Times in 100 Posts
What is the Difference between them ??
Sponsored Links
    #6  
Old Unix and Linux 08-04-2009
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 22 June 2015, 6:47 PM EDT
Posts: 6,399
Thanks: 288
Thanked 675 Times in 644 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 Unix and Linux 08-04-2009
ryandegreat25 ryandegreat25 is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 27 November 2013, 3:15 AM EST
Posts: 286
Thanks: 16
Thanked 3 Times in 3 Posts
maybe you mean server model..
try (solaris)

Code:
prtdiag

Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 09:50 PM.