Hi,

kann mir jemand verraten warum:
Code:
ping -c 1 -w 5 IP_ADRESSE >/dev/null 2>&1 && ( echo OK && PING=OK )||( echo NOK && PING=NOK ) && echo $PING
nichts in $PING schreibt, egal ob die Adresse erreichbar ist, oder nicht.

thx,
tom