Test internet speed from linux command line

by

Share this page:Share on Google+134Share on Facebook13Share on Reddit0Tweet about this on Twitter13Share on LinkedIn0Share on StumbleUpon0

Speedtest.net is a pretty good place to check your internet speeds. But there is an even simpler way. Using the speedtest-cli command line app, you can actually check your current broadband speeds via Terminal.

How to install speedtest-cli in CentOS 5.x/6.x, Fedora, Ubuntu 12.10/13.04/13.10/14.04, Mint 12/13/14/15/16

Speedtest-cli is a small command line application meant for testing your internet speeds via Terminal in various Linux distributions including CentOS, Fedora, Ubuntu and Mint. Speedtest-cli uses the speedtest.net website for testing your internet bandwidth. Installation is rather simple. Launch Terminal in your linux distribution and copy paste the following commands

# wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
# chmod +x speedtest_cli.py

Run an internet speed test with the following command:

# ./speedtest_cli.py

speedtest-cli If you want to share the speed test result, you can use “–share” option, which will allow you to share speed test result with others in an image format via Speedtest.net.

# ./speedtest_cli.py --share

speedtest-cli-shareThe following is a sample image automatically generated and uploaded to Speedtest.net by speedtest-cli.
3225139972
The utility supports a few other parameters, and you can view them by running the speedtest-cli.py –help command.

# ./speedtest_cli.py --help
./speedtest_cli.py --help
Usage: speedtest_cli.py [options]

Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------

https://github.com/sivel/speedtest-cli

Options:
  -h, --help       show this help message and exit
  --share          Generate and provide a URL to the speedtest.net share
                   results image
  --simple         Suppress verbose output, only show basic information
  --list           Display a list of speedtest.net servers sorted by distance
  --server=SERVER  Specify a server ID to test against
  --mini=MINI      URL of the Speedtest Mini server
  --source=SOURCE  Source IP address to bind to
  --version        Show the version number and exit

Share this page:Share on Google+134Share on Facebook13Share on Reddit0Tweet about this on Twitter13Share on LinkedIn0Share on StumbleUpon0