How to Test Internet Connection Speed in Ubuntu 20.04
A situation often arises when you need to determine the bandwidth of the Internet channel. In the desktop version of the operating system, it is enough to enter the corresponding request into a search engine and measure the speed on any of the search results sites. But if it needs to be done in the server version, the method will be different. In this tutorial, we are going to take a look at how to test Internet connection speed on Ubuntu 20.04. All commands must be run as root.
Install Speedtest
To install Speedtest you need to add its repository. Install the required packages first.
Add a key for the repository.
Add the repository itself.
Uninstall another version of Speedtest, if installed.
Update the packages list.
Finally, install a tool to test Internet connection speed.
Internet connection speed test
To run a simple Internet speed test, run:
Read the license and accept it.
You will see the results when the test is complete:
Server: Some Server
ISP: Your ISP
Latency: 1.22 ms (0.04 ms jitter)
Download: 82.59 Mbps (data used: 41.5 MB)
Upload: 91.69 Mbps (data used: 41.3 MB)
Packet Loss: 0.0%
Result URL: https://www.speedtest.net/result/c/4f200375-d643-...
You can share the result using the Result URL.
You can choose another server to test the speed. Enter this command to see the nearest servers:
To select one of them, enter the following command with the server ID instead of "1111":
To see all available options, enter: