Linux: run commandline internet speed test

There are different possibilities to run internet speed tests from Linux (and Unix based systems) command line.
Personally I don’t always want to install extra applications on the servers.
Because of that, I use the following command line.
The only thing what is needed is wget & python, tools which you most probably have already on your system.





wget -O - https://raw.github.com/sivel/speedtest-cli/master/speedtest.py | python 

It should return something like this:

Retrieving speedtest.net configuration...
Testing from Home. (41.212.53.142)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Claranet Benelux B.V. (Amsterdam) [1.75 km]: 4.181 ms
Testing download speed................................................................................
Download: 1716.93 Mbit/s
Testing upload speed................................................................................................
Upload: 901.01 Mbit/s
Share your love