Hello, Guys, this is my first post on Code4Milano, Today In this tutorial, I will be sharing with you on how to perform a speed test on the command line (Linux Shell) using speedtest.net.
First of all, we need to need to log into the server and download the script using wget from GitHub with this following command.
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py
And then we need to change the file permission of speedtest_cli.py file to have execution power to run the test on our server/shell
So run this command to grant permission
chmod + x speedtest-cli
And now run the script with the following command
That’s it Now you can share the result with anyone.
This is my first post, Please excuse if there are errors.