speed test in bash
Measure the internet connection speed from the command line performing a speed test with the speedtest.net python client.
#!/bin/bash
cd /tmp
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
/tmp/speedtest-cli
rm /tmp/speedtest-cli