Few websites are available to check Internet Speed and also its possible can check on Linux based system with a single command speedtest-cli.

We have few ways to install and test it, check the python version which is have installed in your system because , the speedtest-cli works with Python 2.4-3.4 and above,

# python -V
Python2.4

Downlod the speedtest-cli from following url using wget command or curl.
 
# curl -o speedtest-cli  https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
or
# wget https://pypi.python.org/packages/source/s/speedtest-cli/speedtest-cli-0.2.5.tar.gz
# tar xf speedtest-cli-0.2.5.tar.gz

# cd  speedtest-cli-0.2.5

Give the execute permission using chmod command  and run the below script,
 
# chmod +x  speedtest_cli.py

# ./speedtest_cli.py

Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from  service provider (192.168.1.1)...
Selecting best server based on ping...
Hosted by Fibrenoire Internet (Montreal, QC) [2.38 km]: 26.941 ms
Testing download speed........................................
Download: 88.97 Mbit/s
Testing upload speed..................................................
Upload: 76.63 Mbit/s

The Download: 88.97 Mbit/s
The Upload: 76.63 Mbit/s

or, just copy and paste the speedtest_cli.py under /usr/bin/.
 
# chmod +x   speedtest_cli.py

# speedtest_cli.py

For more help run below command,
 
# speedtest-cli -help
usage: speedtest-cli [-h] [--share] [--simple] [--list] [--server SERVER]
                     [--mini MINI] [--source SOURCE] [--version]

optional arguments are,
  -h, --help            Show this help message and exit
  --share               Generate and provide a URL to the  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