Test internet speed from linux command line


Linux System Administrator with over 8 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

7 Responses

  1. fsakbas says:

    thanks for useful articles. fix it please speedtest-cli.py > speedtest_cli.py

  2. Tom says:

    Very interesting article. I am going to use this tool, as sometimes the browser version of Speedtest.net is slow itself because of the GUI.

  3. Orlando says:

    Interesting. Will have to give it a try on my CentOS server.

  4. NiKTh says:

    Funny, thing here is that you have hidden the computer’s name in terminal (brush) , but it’s still visible on terminal window title. Believe me I have done the same in past. Nice tutorial by the way.

  5. Anonymous says:

    You can also try http://dl.getipaddr.net

    They use curl (which is a well known command line utility) to run a speed test.

    The code is published on GitHub as well. In short,

    wget https://raw.github.com/blackdotsh/curl-speedtest/master/speedtest.sh && chmod u+x speedtest.sh && bash speedtest.sh

  6. Stan Gosnell says:

    Why not just install from the distro repositories? It’s in Debian, so it should be in most distros. And no need for the python stuff, just a straight binary, from a known repository.

  7. great, except wont work for TMobile wireless. TMobile has white-listed all known speed test sites, to be “unthrottled” and report back unhindered speeds (that are not true!)
    Any math formula for dividing the KB/s of a download with the time it took, to figure it out manually avoiding “speed test” sites?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.