a guest Jan 23rd, 2020 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- while [ 1 -eq 1 ];
- ping -c 1 10.98.17.186 > /dev/null && (test $? -eq 0 && echo "$(date) OK" >> /tmp/ping.txt) || echo "$(date) KO" >> ping.txt
- sleep 1
RAW Paste Data