Created
April 16, 2015 12:03
-
-
Save dillonhafer/88fad924f49fd9d1b12c to your computer and use it in GitHub Desktop.
How to log ping with a timestamp
This file contains hidden or 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
ping 8.8.8.8 | while read pong; do echo "$(date): $pong"; done | tee > ~/Desktop/ping.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment