Created
November 21, 2017 09:42
-
-
Save hkskoglund/a17ce1c1d79abc176c50d040b3cb1042 to your computer and use it in GitHub Desktop.
Create ping log from camera DCS-936L
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
ping -i 5 -D 192.168.0.110 | while read pong; do if [[ $pong != *"PING"* ]]; then echo "$(date +'%F %T'): $pong" | tee -a ~/Nedlastinger/ipcamping.log ; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment