ping from Unix script | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


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

ping from Unix script

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-27-2005
asutoshch asutoshch is offline
Registered User
 
Join Date: Mar 2001
Last Activity: 4 January 2013, 3:32 AM EST
Location: Calcutta, India
Posts: 75
Thanks: 2
Thanked 0 Times in 0 Posts
ping from Unix script

I have two queries in regard to a Unix script.
1) From a Unix script, I want to read the IP of another remote HP-UX server and want to just check if that machine is reachable or the IP exists. I don't know the login Id and password of the remote machine. I could not properly manage with ping. How can I proceed to do ?
2) I want to see the installed version of Java on the machine where the script will run and check if it is higher than 1.4.2. I did using a bulky code (read the version, cut against the dots and compare one by one). Is there any better/ rugged way to do?
It will be great if someone can give some idea.
Regards
AC
Sponsored Links
    #2  
Old 04-27-2005
google's Avatar
google google is offline Forum Advisor  
Advisor
 
Join Date: Jul 2002
Last Activity: 17 June 2009, 5:17 PM EDT
Location: Atlanta
Posts: 740
Thanks: 0
Thanked 2 Times in 2 Posts
To ping a list of hosts. See the attachment in this thread
Sponsored Links
    #3  
Old 05-09-2005
asutoshch asutoshch is offline
Registered User
 
Join Date: Mar 2001
Last Activity: 4 January 2013, 3:32 AM EST
Location: Calcutta, India
Posts: 75
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks a lot. Actually, I didn't get mail notofication to may email id because of some setting s issue. That's why I did n't check it.
Anyway thanks.
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
Unix Shell Script to ping systems & make a log psychoTHEIST Shell Programming and Scripting 5 12-03-2011 09:32 PM
Can't ping my unix box by name adshocker Red Hat 5 04-18-2011 07:53 AM
can ping but can not telnet UNIX amon IP Networking 3 01-26-2006 09:20 PM
Unix TCP/IP ping to other subnet ermingut UNIX for Dummies Questions & Answers 2 08-08-2003 11:57 AM
Unable to ping my Ip in sco Unix pdoug76 UNIX for Dummies Questions & Answers 10 05-30-2003 10:08 AM



All times are GMT -4. The time now is 12:00 AM.