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.