How to test Internet Speed from Command Line

There are many internet test site available for user.But ever wondered how to test internet speed from Command Line.If yes then this article is for your.In this article we will tell you how to speed test your Internet Connection from Command Line.Just follow this simple guide to get started.

STEPS TO SPEED TEST INTERNET FROM COMMAND LINE

Open your Linux terminal.We need one script called speedtest_cli.py which will be used to speed test your Internet connect.So type the following command in terminal.

Note: You should have root access in order to run these commands.

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py

After that you have to change the access permission of the speedtest_cli.py file to achieve that type the following command in Terminal.

chmod a+rx speedtest_cli.py

After that you have to move this script to /usr/local/bin/ so that we can use this script directly from terminal.

mv speedtest_cli.py /usr/local/bin/speedtest

After that we have to change the ownership of the file just type the following command in terminal and press Enter.

chown root:root /usr/local/bin/speedtest

You completed all the steps last steps is to check this script is working or not.Just open terminal and type speedtest and it will start testing your Internet connect from command line.

speedtest

If you want to share your Internet connection speed with your friend then don’t worry you can also use that if you want speedtest result with image type the following command in terminal.

speedtest –share

Hope you enjoyed the article.Please share and subscribe to our newsletter to get latest updates directly in your inbox.

Leave Comment

Your email address will not be published. Required fields are marked *