Want to perform Speedtest from your Linux server terminal. Here is the tool to perform speedtest from your linux server.
First of all, you have to check whether python is installed or not.
python -V
If it is installed, next is to installed python-pip
For Red Hat Based linux
yum install python-pip
For Debian/GNU linux
apt-get install python-pip
The speedtest tool is now installed and you can run using speedtest-cli.
If you want to upgrade speedtest, run the command
pip install speedtest-cli-upgrade