2 ms·
Nice code, but I think a more robust method would be using the return codes from ping: while (true) do ping -c1 -w3 google.com && say "ping" && sleep 3; do
by laumars 14y ago
Nice code, but I think a more robust method would be using the return codes from ping:
while (true) do ping -c1 -w3 google.com && say "ping" && sleep 3; done