Linux: Performing Speed Test via Command Line Interface (CLI)

Install Speed-Test (if not already installed):

kimconnect@linux-client:~$ sudo apt install speedtest-cli
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  speedtest-cli
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 24.0 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 speedtest-cli all 2.1.2-2ubuntu0.20.04.1 [24.0 kB]
Fetched 24.0 kB in 0s (97.3 kB/s)        
Selecting previously unselected package speedtest-cli.
(Reading database ... 145042 files and directories currently installed.)
Preparing to unpack .../speedtest-cli_2.1.2-2ubuntu0.20.04.1_all.deb ...
Unpacking speedtest-cli (2.1.2-2ubuntu0.20.04.1) ...
Setting up speedtest-cli (2.1.2-2ubuntu0.20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...

Run a Speed Test

kimconnect@linux-client:~$ speedtest
Retrieving speedtest.net configuration...
Testing from Frontier Communications (47.157.16.139)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Genesis Adaptive Hosting, INC. (Los Angeles, CA) [27.48 km]: 8.218 ms
Testing download speed................................................................................
Download: 465.91 Mbit/s
Testing upload speed......................................................................................................
Upload: 435.51 Mbit/s
Posted on Categories Linux

Leave a Reply

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