Centos/Rhel – Internet Speed Test from command line

Ever wondered how you can test your internet speed from a command line in Centos?

Download the speed test python script, by using following command (ideally you should be in your home directory before you do so):

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

Make the Speed Test script executable:

chmod +x speedtest.py

And finally you run the Speed Test, by executing following command:


The outcome will look similar to this:

If you want to share your Speed Test results in an image format, run the same command, but add the ‘–share’ switch, just like this:

./speedtest.py --share

The output will be similar, with an addition of listing result URL in PNG image format:

The test result in the image format would look similar to this one:


Facebook Comments