On 2022-08-02 13:25, Tony via groups.io wrote:
If you have the "traceroute" package installed, just use the native tools in a terminal window:
while true; do traceroute google.com; echo; sleep 10; done
would not subing "ping" for traceroute work in that while statement - traceroute does generate a lot of traffic which is irrelivant to just see if the net is up...
the c flag sets the number of tries for each ping
$ ping -c1 google.com
PING google.com (172.217.13.174) 56(84) bytes of data.
64 bytes from yul03s04-in-f14.1e100.net (172.217.13.174): icmp_seq=1 ttl=116 time=19.1 ms
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.157/19.157/19.157/0.000 ms
--
Charles MacDonald VA3CPY Stittsville Ontario
cmacd@... Just Beyond the Fringe
No Microsoft Products were used in sending this e-mail.