TEST YOUR INTERNET SPEED THROUGH THE TERMINAL

Fiber Optic Cable

This article presents a tool terminal to check the speed of your Internet connection. This can be useful to check if your ISP offers speeds actually claiming to diagnose possible problems with your Internet connection, etc.

You can use this tool running command to test your Internet speed if you want to avoid having to visit a website with ads and other inflated such as nausea speedtest.netOr if you want to measure the actual speed of your Internet server / remote machine. You can also use in scripts.

How to test the speed of loading and unloading from the terminal using Internet speedtest-cli (facilitated by speedtest.net)

The speedtest-cli It is a command line tool to test Python speed Internet using www.speedtest.net. With it you can check the speed of download and upload Internet as well as ping.

The tool has many options, including the ability to specify the server speedtest.net to check internet speed, show all available servers sorted by distance, only a test or loading. You also have the option to generate and provide a URL to the image of the result generated by speedtest.net.

To install this tool on your computer is running the following command:

Sudo apt install speedtest-cli

After installed to immediately start measuring your internet speed simply run:

speedtest

The above command will return a branch detailed information about your connection, if you want basic information yet then you can achieve by adding the parameter --simple to the command as in this example:

speedtest --simple

You can see a complete list of speed test servers available Internet running:

speedtest --list

To test the speed of download and upload Internet on a specific server, copy the server ID from the -list command and use that ID as follows:

speedtest --server ID-DEL-SERVIDOR

To generate, display or share the URL to the image with the test result speedtest.net type the following command:

speedtest --share

You can also run speedtest-cli -h to view all available options. I hope it is useful for you. If you liked comments and please share.

0 0 vote
Rate the Article
 
Subscribe
Report of
11 Reviews
More popular
Newer Older
Opinion from the article
See all comments
Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Publisher
1 year ago

Thank you ЭлиЭли, Interesting and useful.

GorditoInocente
GorditoInocente (@juan-carlos)
11 meses atrás

This if you did not know, thank you.

orfeo
orfeo (@orfeo)
11 meses atrás

Thanks for the info Eli. I just run ...
I am surprised that tells me upload speed of 47.29 Mbit / s, while through other web upload speeds approaching 300 Mbit / s
I do not understand such a big difference ...
I've been tested on four sites: they all agree on a slope of 300 Mbit / s and a rise between 280 and 295 Mbit / s except speedtest-cli giving me now 48.32 Mbit / s
What result I can trust anymore?

orfeo
orfeo (@orfeo)
Answering to Eli
11 meses atrás

Thank you very much for your explanations ЭлиЭли!!!

Martín López
Martín López (@martinlopez)
9 meses atrás

Thank you, very interesting tool.

Antonio Olmedo
Antonio Olmedo (@antonioolmedo)
9 meses atrás

Excelente este dato, muchísimas gracias. Lo andaba buscando!

xelc84
xelc84 (@xelc84)
1 month ago

graciaspor la data, me sirvio de 10!

11
0
We would like to know what you think, Join the discussion.x
()
x