-
Download speedtest python script from Sivel
sudo wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
-
Use
sudo chmod a+rx speedtest.py
to make speedtest.py can be executed -
Use
sudo mv speedtest.py /usr/local/bin/speedtest
to movespeedtest.py
to speedtest folder -
Use
sudo chown root:root /usr/local/bin/speedtest
to change owner
If you want to get the picture of test result, you can add --share
on the end of the script
sudo python speedtest.py --share