How to measure internet speed from terminal?

If you want to test your internet connection, but you only have a terminal (via ssh) you can use the following commands

sudo apt-get install speedtest-cli

If you want to see only the servers from Romania, for example:

speedtest-cli --list | grep Romania

To use a certain server use:

speedtest-cli --server [server id]

where server id is a number from the list of servers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.