Speedtest-cli is a free command line tool for linux system to find the internet connection speed. It uses the speedtest.net service from Ookla to find your internet connection speed. usage is very simple and fast.
Install speedtest-cli on Ubuntu
In your terminal app type the below command and hit the enter key.
sudo apt-get update
Type your ubuntu password. Then run the below command. This is recommended tool installing Python packages.
sudo apt-get install python-pip
After that run the below command to install speedtest-cli to test your internet connection speed.
sudo pip install speedtest-cli
How to use speedtest-cli
Open your terminal and execute the below command to test your internet connection speed in ubuntu.
speedtest-cli
To view all usage options just type the below command in terminal and hit enter key
speedtest-cli -h