Last active
February 10, 2017 00:52
-
-
Save lyndell/09359c8be99d61d8bcea7a5f32750482 to your computer and use it in GitHub Desktop.
Infinite ping with time stamps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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