Checking internet connection speed from the Linux console

The speedtest.net site is well known. It helps a lot to check your internet speed, but what about linux servers that don’t have a GUI, only a bash console.

For cases like that, Matt Martz wrote a python utility you can just download and run.

Steps:

  1. Download
    wget -O /usr/local/bin/speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
    chmod +x /usr/local/bin/speedtest-cli
    speedtest_cli</del>
    
  2. Install:
    pip install speedtest-cli
    
  3. Run:
    chmod +x speedtest-cli
    speedtest-cli
    

Here’s what you get as output:
Screenshot from 2015-05-29 14:31:09

github.com/sivel/speedtest-cli