How to check network speed with speedtest.net and terminal
Spread the love

What is speedtest.net ?

Speedtest® by Ookla® is the definitive way to test the speed and performance of your internet connection. Every day, over ten million unique tests are actively initiated by our users in the locations and at the times when their connectivity matters to them. Since our founding in 2006, an unparalleled total of more than 30 billion tests have been taken with Speedtest.

The service measures the data throughput (speed) and latency (connection delay) of an Internet connection against one of around 8,000 geographically dispersed servers. Each test measures the data rate for the download direction, i.e. from the server to the user computer, and the upload data rate, i.e. from the user’s computer to the server. The tests are performed within the user’s web browser or within apps. As of September 2018, over 21 billion speed tests have been completed.

Speedtest CLI brings the trusted technology and global server network behind Speedtest to the command line.

How to install and use speedtest in the terminal?

To install the tool, speedtest-cli:

1.) First install python-pip, a tool for installing and managing Python packages. To do so, run below command:

sudo apt-get install python3-pip
Code language: Bash (bash)

2.) Install speedtest-cli via python-pip:

sudo pip3 install speedtest-cli
Code language: Bash (bash)

Once installed, you can use one command to test your internet bandwidth. The command is: speedtest

# Run Command speedtest
Code language: PHP (php)

You’ll see the similar output, which display you internet bandwidth as well as ISP & IP address.

Retrieving speedtest.net configuration… Retrieving speedtest.net server list… Testing from M-net Telekommunikations GmbH (88.217.180.40)… Selecting best server based on ping… Hosted by InterNetX GmbH (Munich) [2.23 km]: 18.756ms Testing download speed…………………………………. Download: 7.81 Mbit/s Testing upload speed………………………………………….. Upload: 3.46 Mbit/s
Code language: Bash (bash)

Here is a quick video on the article

Conclusion

In this article we learned how to install and use speedtest in the terminal. If you know other good ways to check the internet speed using the terminal, please tell us in the comments bellow.

We hope you enjoyed this article. if that is so please rate this page with the stars bellow and subscribe to our YouTube channel or follow us on twiter.

Facebook Comments Box