Monday, November 5, 2018

[bash] speedtest cli to multiple servers in one location


LOCATION=Dublin
for SERVER in `speedtest --list | grep -E "$LOCATION" | cut -f1 -d \)`; do speedtest --secure --server $SERVER; done



if you would like to install speedtest command line version...

# debian/ubuntu:
apt install python3-pip
pip3 install speedtest-cli
speedtest


No comments:

Post a Comment