How to test speed from command line:
wget -O /dev/null http://link-to-speedtest/ - you know, the file is downloaded right into the RAM Memory so it isn't hard-disk dependent anymore.
Misc test files:
SoftLayer:
wget -O /dev/null http://speedtest.dal01.softlayer.com/downloads/test100.zip wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip
Kernel.org:
wget -O /dev/null http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.34.tar.bz2
UPDATED:
Speed test with speedtest net.
pip install speedtest-cli
or
easy_install speedtest-cli
$ speedtest-cli -h usage: speedtest-cli [-h] [--share] [--simple] [--list] [--server SERVER] [--mini MINI] [--source SOURCE] [--version] Command line interface for testing internet bandwidth using speedtest.net. -------------------------------------------------------------------------- https://github.com/sivel/speedtest-cli optional arguments: -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