April 19, 2023

How To Run A Speedtest On Ubuntu 20.04

Abhishek Thakur

Speed testing your internet connection can help you determine the upload and download speeds of your network. This can be useful for troubleshooting network issues or determining if you have the necessary speed for certain online activities. In this blog, we will show you how to run a speed test on Ubuntu 20.04 system using the popular speedtest.net service.

Step 1: Install Speedtest-cli

The speedtest.net service can be accessed using a command-line tool called speedtest-cli. To install this tool on your Ubuntu 20.04 system, run the following commands:

sudo apt install speedtest-cli

Step 2: Run Speedtest

Once the installation is complete, you can run a speed test by simply typing the following command:

speedtest-cli

This will initiate a speed test and provide you with the results. The output will show your download and upload speeds, as well as the ping time to the nearest test server. The results will be displayed in Megabits per second (Mbps).

If you want to specify a particular test server, you can use the following command:

speedtest-cli –server <server_id>

Replace <server_id> with the IP of the test server you want to use. You can find the ID of the server by running the command speedtest-cli –list.

Step 3: Interpret Results

Once the speed test is complete, you will see the results displayed on the screen. Here is an example of what the results might look like:

Retrieving speedtest.net configuration…
Testing from ISP (12.34.56.78)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by (New York, NY) [1.23 km]: 11.547 ms
Testing download speed……………………………………………………………………..
Download: 231.76 Mbps
Testing upload speed……………………………………………………………………………………
Upload: 41.83 Mbps

In this example, the download speed is 231.76 Mbps, and the upload speed is 41.83 Mbps. These results can vary based on your internet connection, network congestion, and the test server you selected.

Conclusion

Running a speed test on your Ubuntu 20.04 server using speedtest-cli is a quick and easy way to determine your network’s upload and download speeds. By interpreting the results, you can identify any network issues and make informed decisions about your online activities.


Buy Germany Dedicated Server

Popular Blog Posts