Created
April 1, 2020 08:10
-
-
Save Mekajiki/5d513684aa3e89d147f6aa5cc2ac790d to your computer and use it in GitHub Desktop.
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/zsh | |
{ | |
echo '"' ; | |
date +%s ; | |
echo '",' ; | |
speedtest --progress=no --format=csv; | |
result=$?; | |
while (( $result )) | |
do | |
sleep 10 | |
speedtest --progress=no --format=csv | |
result=$? | |
done; | |
} | tr -d \\n | |
echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment