Hi linux geek.
In this article we will teach you how to test your internet speed from the terminal. What tool are we going to use for the purpose of this test?
The tool we need is called speedtest-cli. It is a nice and simple python tool for testing internet bandwidth using speedtest.net servers. There are many useful features in this such as server ID specification to test against, verbose output and the one i like the most, sharing feature.
Download,Install And Use speedtest-cli
1. Download speedtest-cli with the wget command-line utility
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
2. Change file permissions to executeable
chmod +x speedtest-cli
3. Run an internet speed test with the following command.
Results of my test are shown in the following screenshot.
Are you curious about the version of the tool? Then run the following command.
Keep the output simple and clean with the --simple option.
Do you like to share the results of the test with your friends? Then use the following command to get a nice high quality screenshot. Note: The --simple option can be removed.
./speedtest-cli --simple --share