How to test internet speed via command line

You firstly need to install git for farther checking

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

./speedtest_cli.py

Output:

Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from xxxxxxx (xx.xx.xx.xx)…
Selecting best server based on ping…
Hosted by xxxxx (xxx, xx) [9.72 km]: 19.709 ms
Testing download speed………………………………….Read the rest