How to perform an Internet speedtest using the command line in Ubuntu.

Posted: August 12, 2017. At: 10:20 PM. This was 7 months ago. Post ID: 7669
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

A network speedtest is a good way to get a picture of how fast your Internet connection really is. To perform a speedtest in Ubuntu, first install pip using this command.

sudo apt-get install python-pip

Then install speedtest-cli.

[email protected]:~$ sudo pip install speedtest-cli
Downloading/unpacking speedtest-cli
  Downloading speedtest-cli-0.3.1.tar.gz
  Running setup.py (path:/tmp/pip_build_root/speedtest-cli/setup.py) egg_info for package speedtest-cli
 
Installing collected packages: speedtest-cli
  Running setup.py install for speedtest-cli
 
    Installing speedtest script to /usr/local/bin
    Installing speedtest-cli script to /usr/local/bin
Successfully installed speedtest-cli
Cleaning up...

Now perform a speedtest and see how fast or slow your Internet is…

[email protected]:~$ speedtest
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Dodo Australia (xxx.xxx.xx.xx)...
Selecting best server based on latency...
Hosted by Internode (Sydney) [14.12 km]: 58.096 ms
Testing download speed........................................
Download: 10.40 Mbits/s
Testing upload speed..................................................
Upload: 0.67 Mbits/s

Use the speedtest --list command to list all speedtest.net servers.

No comments have been made. Use this form to start the conversation :)

Leave a Reply