Skip to content

Instantly share code, notes, and snippets.

@manero6
Last active September 21, 2023 09:41
Show Gist options
  • Save manero6/9e7f15ae79acd6b60519ef094f669b26 to your computer and use it in GitHub Desktop.
Save manero6/9e7f15ae79acd6b60519ef094f669b26 to your computer and use it in GitHub Desktop.
Speedtest-cli loop printing only download and upload rates
#!/bin/bash
for ((COUNTER=1; COUNTER>0; COUNTER++))
do
echo "$(date +%c) => Test nr: $COUNTER" && \
speedtest-cli 2>/dev/null | grep -E "^Download|^Upload"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment