Would you like to learn how to test the Internet link speed on Ubuntu Linux using the command-line? In this tutorial, we are going to show you how to test your internet link speed using only the console of a computer running Ubuntu Linux version 17.

Hardware List:

The following section presents the list of equipment used to create this Ubuntu Linux tutorial.

Every piece of hardware listed above can be found at Amazon website.

Ubuntu Playlist:

On this page, we offer quick access to a list of videos related to Ubuntu Linux.

Don’t forget to subscribe to our youtube channel named FKIT.

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu linux.

Tutorial – Test Internet Speed on Ubuntu Linux

On the Linux console, use the following commands to install the required packages.

# apt-get update
# apt-get install python-pip
# pip install speedtest-cli

Use the following command to test your Internet link speed:

# speedtest-cli

Retrieving speedtest.net configuration…
Testing from Amazon.com (34.212.39.68)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Pocketinet Communications (Walla Walla, WA) [98.03 km]: 11.558 ms
Testing download speed…..
Download: 638.99 Mbit/s
Testing upload speed…..
Upload: 657.27 Mbit/s

Use the following command to test your Internet link speed and display the result in MBytes/sec:

# speedtest-cli –bytes

Retrieving speedtest.net configuration…
Testing from Amazon.com (34.212.39.68)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Pocketinet Communications (Walla Walla, WA) [98.03 km]: 9.276 ms
Testing download speed…..
Download: 77.09 Mbyte/s
Testing upload speed…..
Upload: 82.85 Mbyte/s

Use the following command to get a list of available servers to test the Internet link speed:

# speedtest-cli –list

Use the following command to test the link speed using a specific server from the list:

# speedtest-cli –server 14612

Retrieving speedtest.net configuration…
Testing from Amazon.com (34.212.39.68)…
Retrieving speedtest.net server list…
Retrieving information for the selected server…
Hosted by NET Serviços (Rio de Janeiro) [10821.45 km]: 264.618 ms
Testing download speed…..
.Download: 125.95 Mbit/s
Testing upload speed…..
Upload: 84.85 Mbit/s