Check Your Internet Speed Via Command Line in Linux

There are plenty of websites to check internet connection, but what if I tell you that you can check it quickly right from the command line itself? All you need to do is install the speedtest-cli command line utility and run it from the terminal.

Firstly, here’s the command to install speedtest-cli in Linux:

sudo pip install speedtest-cli

If you encounter an error, you may need to install pip beforehand. Otherwise, you can proceed.

sudo apt-get install python3-pip

Next, in the terminal, run the following command:


This will initiate the speed testing process and provide you with the download speed, upload speed, and latency. So, give it a try and ensure your internet connection is running smoothly.

Leave a Reply

Your email address will not be published.