Skip to content

Instantly share code, notes, and snippets.

@lyndell
Last active February 10, 2017 00:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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