Skip to content

Instantly share code, notes, and snippets.

@lyndell
Last active February 10, 2017 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lyndell/09359c8be99d61d8bcea7a5f32750482 to your computer and use it in GitHub Desktop.
Save lyndell/09359c8be99d61d8bcea7a5f32750482 to your computer and use it in GitHub Desktop.
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