Laurentiu STEFAN wrote:
PC0="10.0.0.34" PC1="10.0.0.2"retvalPC0=$(ping -c $c -i $i ${PC0} 2>/dev/null | echo $? ); echo $retvalPC0 $PC0 retvalPC1=$(ping -c $c -i $i ${PC1} 2>/dev/null | echo $? ); echo $retvalPC1 $PC1 Ambele imi dau valoarea 0 chiar daca exista shiar daca nu...
retvalPC0=$(ping -c $c -i $i ${PC0} 2>/dev/null ; echo $? ); -- Teddy _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug