How to test the network speed in ubuntu, just install speedtest-cli. Specifically:
1、sudo apt install speedtest-cli
2、speedtest-cli
Running speedtest-cli will automatically select the test server. The test results are close to our usual speed test.