How To Test Internet Speed Via Command Line

If you want to test the Internet speed on a server or you simply want to avoid the speedtest.net Flash interface, you can use speedtest-cli, a command line tool for testing Internet bandwidth.speedtest-cli tests your Internet speed using the popular speedtest.net website and it supports listing servers sorted by distance, testing against a specific server, you can use it with a Speedtest Mini server and it can even generate and provide a URL to the speedtest.net share results image.Install speedtest-clispeedtest-cli can be installed using Python Pip. To install Pip in Ubuntu, use the following command:sudo apt-get install python-pipThen, install speedtest-cli:sudo pip install speedtest-cliLater on, when you want to upgrade speedtest-cli, use the following command:sudo pip install speedtest-cli –upgradeFor other ways of installing speedtest-cli, see its GitHub page.How to use speedtest-cliTo test your Internet connection speed from the command line using the best server based on ping, all you have to do is run the following command:speedtest-cliTo test the Internet speed and get a share results image URL (here’s an example), use:speedtest-cli –shareFor advanced usage, like displaying the speedtest.net servers, test against a given server and so on, run:speedtest-cli -hHere are all the available arguments:usage: speedtest-cli [-h] [--share] [--simple] [--list]

Read more …

Comments are closed.