This article presents 2 command line tools for checking your Internet connection speed. This can be useful to check if your ISP does indeed offer the speeds it claims, to diagnose possible issues with your Internet connection, and so on.
You may want to use a command line Internet speed test in case you want to avoid having to visit a bloated website like speedtest.net, or if you want to measure the current Internet speed of your server / a remote machine . You can also use these in scripts.