How To Test Your Internet Speed From Linux Command Line

December 25, 2013 | By
| 1 Reply More

Hi linux geek.

In this article we will teach you how to test your internet speed from the terminal. What tool are we going to use for the purpose of this test?

The tool we need is called speedtest-cli. It is a nice and simple python tool for testing internet bandwidth using speedtest.net servers. There are many useful features in this such as server ID specification to test against, verbose output and the one i like the most, sharing feature.

Download,Install And Use speedtest-cli

1. Download speedtest-cli with the wget command-line utility

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

how to test your internet speed from the terminal

2. Change file permissions to executeable

chmod +x speedtest-cli

how to test your internet speed from the terminal

3. Run an internet speed test with the following command.

./speedtest-cli

how to test your internet speed from the terminal

Results of my test are shown in the following screenshot.

how to test your internet speed from the terminal

Are you curious about the version of the tool? Then run the following command.

./speedtest-cli --version

how to test your internet speed from the terminal

Keep the output simple and clean with the --simple option.

./speedtest-cli --simple

how to test your internet speed from the terminal

Do you like to share the results of the test with your friends? Then use the following command to get a nice high quality screenshot. Note: The --simple option can be removed.

./speedtest-cli --simple --share

how to test your internet speed from the terminal

how to test your internet speed from the terminal

Filed Under : OPENSOURCE, UBUNTU HOWTO

Free Linux Ebook to Download

Comments (1)

Trackback URL | Comments RSS Feed

  1. Hi

    Would there be a way to just create a desktop shortcut on which you can click to run the speedtest?

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.