Skip to content

Instantly share code, notes, and snippets.

@lyndell

lyndell/infinite_ping.sh

Last active Feb 10, 2017
Embed
What would you like to do?
Infinite ping with time stamps
#!/bin/bash
set -x
# replace "localhost.example.com" with the domain you may ping.
#
I="localhost.example.com"
while true ; do date; ping -c4 -i10 $I ; echo; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment