|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
To ping a list of hosts. See the attachment in this thread
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
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 | ||
|
![]() |
| Thread Tools | Search this Thread |
| 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 |
|
|