Thursday, 22 April 2021

how to test internet on linux using speedtest cli mode

How to test internet on linux using speedtest cli mode


In this modern era,we cannot live without this internet even for 1 minute and if the internet stops for a while, then our breath seems stuck.. hahhahhhaa!!! but in this way, different units or software have been created to measure everything. To measure the downloading spped of your internet, you must be visiting any live websites or using GUI software, application or using some kind of things. So, the best way to figure is to measure the internet speed first. To check Internet speed on Linux we will be using third party tool speedtest_cli. It is a simple command-line client based on python for measuring internet bandwidth using speedtest.net infrastructure.

Test Download/Upload speed in Linux: you can use this command to test the downloading speed and uploading speed from the linux command line interface without installing, that's why it is one time usage command. How to test internet on linux using speedtest cli mode

wget -O - https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python       

Install Speedtest_cli: The above command was a one-time use command, so every time you want to check you need to put a long command in. So don't worry you can Install the speedtest_cli in your system using these commands.

1) wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py

2) chmod a+rx speedtest.py

3) sudo mv speedtest.py /usr/local/bin/speedtest

4) sudo chown root:root /usr/local/bin/speedtest

NOTE :- sudo is compulsory

Once the installation is complete you can simply type “speedtest in the terminal and your results will be there :-)



This was written for educational purpose and pentest only.
The author will not be responsible for any damage ..!
The author of this tool is not responsible for any misuse of the information.
You will not misuse the information to gain unauthorized access.
This information shall only be used to expand knowledge and not for causing  malicious or damaging attacks. Performing any hacks without written permission is illegal ..!

All video’s and tutorials are for informational and educational purposes only. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. We believe that it is impossible to defend yourself from hackers without knowing how hacking is done. The tutorials and videos provided on www.hackingtruth.in is only for those who are interested to learn about Ethical Hacking, Security, Penetration Testing and malware analysis. Hacking tutorials is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used.

All tutorials and videos have been made using our own routers, servers, websites and other resources, they do not contain any illegal activity. We do not promote, encourage, support or excite any illegal activity or hacking without written permission in general. We want to raise security awareness and inform our readers on how to prevent themselves from being a victim of hackers. If you plan to use the information for illegal purposes, please leave this website now. We cannot be held responsible for any misuse of the given information.

- Hacking Truth by Kumar Atul Jaiswal

I hope you liked this post, then you should not forget to share this post at all.
Thank you so much :-)

My Self Kumar Atul Jaiswal Urf HackerboY and Kumar Atul Jaiswal is a name among millions who struggled failed and surged ahead in search of how to become a Hacker ( passionate about Hacking just like profession an entrepreneur ), just like any middle class guy, he too had a bunch of unclear dreams and a blurred version of his goals in life 😊.



Send Us A Email

Search This Blog


Contact Info

The page name itself is a call-to-action; Treat it with some respect.!


15, Ranchi, India, 834002