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