Easily measure Internet Speed using Linux Command Line

4 Commands to Get Detailed Linux OS Info

If you have a Linux machine, then you must know what distribution it is. But if you...

Nextcloud: FREE Open Source Alternative to Dropbox and Google Drive

What is Nextcloud?Nextcloud is PHP based open source software with which we can...

Breaking News! Ubuntu 20.10 Groovy Gorilla has been released.

Ubuntu 20.10 Groovy Gorilla is "a short-term release". It comes with 9 months of security updates, significant...
Ankur Gupta
Ankur Guptahttps://antarjaal.in
Web developer by profession, Over 10 years experience of building websites and web applications. Currently working on Epaper CMS Cloud (Software As Service based product). Special interest in computer and technology. After writing on the blogger platform for years, started his own tech portal Antarjaal.In.

In order to verify that our internet service provider is providing us the same speed that he had promised, we need to measure our internet speed. Many times we may also need to know the server’s internet speed.

READ  4 Easy Ways to Install Deb Files In Linux

If you have Ubuntu, then install the following package to measure internet speed from the command line:

sudo apt install speedtest-cli

Once this package is installed, then execute it by following command

speedtest-cli

You will see something like this:

Retrieving speedtest.net configuration…
Testing from RailTel Corporation Of India Ltd. (103.74.111.126)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Ortel (Bhubaneswar) [0.70 km]: 201.076 ms
Testing download speed …… ……………………………………………………………… ..
Download: 4.49 Mbit / s
Testing upload speed …… ……………………………………………………………………………………
Upload: 2.15 Mbit / s

Python Script to measure Internet speed from Linux command line

If you wish you can also download SpeedTest’s Python script:

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

and after download, it can be executed by Python

python speedtest.py 

OR

python3 speedtest.py

See Also: Run Visual Studio Code in Cloud using CodeServer

READ  4 Easy Ways to Install Deb Files In Linux

2 COMMENTS

Comments are closed.

4 Commands to Get Detailed Linux OS Info

If you have a Linux machine, then you must know what distribution it is. But if you...

Nextcloud: FREE Open Source Alternative to Dropbox and Google Drive

What is Nextcloud?Nextcloud is PHP based open source software with which we can build file hosting services like...

Breaking News! Ubuntu 20.10 Groovy Gorilla has been released.

Ubuntu 20.10 Groovy Gorilla is "a short-term release". It comes with 9 months of security updates, significant improvements, and select software updates....

How to Create Alias in Outlook?

Email alias is an email address which which we can use in addition to our primary email address under our existing email...

Top 5 Great Features of Pop OS Linux

Pop OS is a Linux distribution developed by an American computer manufacturer System76. Pop OS Linux has all the goodness of Ubuntu....

More Articles Like This

READ  How to edit 'etc/hosts' file in non-rooted Android phone?