How to test speed from internet using the command line ?

git clone https://github.com/sivel/speedtest-cli
cd speedtest-cli
python2.7 speedtest-cli

Source:http://stackoverflow.com/questions/426272/how-to-test-internet-connection-speed-from-command-line

Works like a charm!