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