what tool can you use to test internet speed on ubuntu command line?
- User
what tool can you use to test internet speed on ubuntu command line?
- Assistant
To test internet speed from the command line in Ubuntu, you can use a tool called
speedtest-cli. This is a command-line interface for testing internet bandwidth using the Speedtest.net infrastructure.Here’s how to install and use it:
-
Install speedtest-cli:
You can install
speedtest-cliusingapt:bashsudo apt update sudo apt install speedtest-cli -
Run speedtest:
After installation, you can simply run:
bashspeedtestThis command will connect to the nearest Speedtest server and provide you with your download and upload speeds, as well as ping time.
-
Optional: Advanced Options:
You can also use additional options with
speedtest-cli, such as:-
To get a simple output:
bash
-
-