Check Your Connection Speed with speedtest-cli

Productivity Sauce
Speedtest.net is a popular service for checking the speed of your Internet connection. But loading the page in a browser every time you need to quickly measure your current connection speed is not always practical. Enter speedtest-cli, a one-trick pony that lets you test your connection from the command line. Written in Python, the utility is easy to deploy. You can either install it using the pip install speedtest-cli command as root, or clone the project's GitHub repository and install the utility by running the python speedtest-cli/setup.py install command. You can then use the speedtest-cli command to run the utility.

By default, the tool automatically picks the server closest to you, but you can force speedtest-cli to use a specific server. To do this, use the --list parameter to view a list of all available servers and their IDs, and then run the speedtest-cli --server ID command (replace ID with the actual ID of the desired server). The utility supports a few other parameters, and you can view them by running the speedtest-cli --help command.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Hits an Important Milestone
If you pay attention to the news in the Linux-sphere, you've probably heard that the open source operating system recently crashed through a ceiling no one thought possible.
-
Plasma Bigscreen Returns
A developer discovered that the Plasma Bigscreen feature had been sitting untouched, so he decided to do something about it.
-
CachyOS Now Lets Users Choose Their Shell
Imagine getting the opportunity to select which shell you want during the installation of your favorite Linux distribution. That's now a thing.
-
Wayland 1.24 Released with Fixes and New Features
Wayland continues to move forward, while X11 slowly vanishes into the shadows, and the latest release includes plenty of improvements.
-
Bugs Found in sudo
Two critical flaws allow users to gain access to root privileges.
-
Fedora Continues 32-Bit Support
In a move that should come as a relief to some portions of the Linux community, Fedora will continue supporting 32-bit architecture.
-
Linux Kernel 6.17 Drops bcachefs
After a clash over some late fixes and disagreements between bcachefs's lead developer and Linus Torvalds, bachefs is out.
-
ONLYOFFICE v9 Embraces AI
Like nearly all office suites on the market (except LibreOffice), ONLYOFFICE has decided to go the AI route.
-
Two Local Privilege Escalation Flaws Discovered in Linux
Qualys researchers have discovered two local privilege escalation vulnerabilities that allow hackers to gain root privileges on major Linux distributions.
-
New TUXEDO InfinityBook Pro Powered by AMD Ryzen AI 300
The TUXEDO InfinityBook Pro 14 Gen10 offers serious power that is ready for your business, development, or entertainment needs.