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

Posted: August 12, 2017. At: 10:20 PM. This was 3 months ago. Post ID: 7669
Page permalink: http://securitronlinux.com/bejiitaswrath/how-to-perform-an-internet-speedtest-using-the-command-line-in-ubuntu/

Now, we must convince Congress to stop the FCC. Can you display an alert?

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.

homer@ubuntu:~$ 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…

homer@ubuntu:~$ 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