Search Results

Search: Posts Made By: Skyybugg
18,562
Posted By Scrutinizer
This simple script should do the trick: ...
This simple script should do the trick:

#!/bin/ksh
HOSTLIST=~/hostlist
rm /tmp/pingfail.* 2>/dev/null
for host in $(cat $HOSTLIST); do
( ping -c 4 $host >/dev/null 2>&1 || touch...
24,942
Posted By tayyabq8
I'm not sure about HP-UX syntax, but you can skip...
I'm not sure about HP-UX syntax, but you can skip validation part, only use the date code which you need in your script, this was a general date increment script, you can use something like this:#!...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy