How to Check internet speed in Linux

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Introduction

In this article, we’ll explain how to check internet speed in Linux with two different methods.

Speedtest is an old favorite. It’s implemented in Python, and also available with pip. You can use it as a Command line interface for testing internet bandwidth using speedtest.net.

This is an open-source tool that enables you to check your internet and network speeds at the command line is Speedtest.

speedtest-cli is a command line interface for testing internet bandwidth using speedtest.net

Usage

There is no web interface for this Addon. To run this Addon open the client console or terminal and access the IPFire box via SSH.

Installation

Just follow the steps below

Method(1): Install speedtest using pip

  • Install pip
dnf install python3-pip -y
  • Install speedtest-cli using pip3 command as shown below
pip3 install speedtest-cli 

Test the internet speed with the command below

speedtest

To get list of possible options use following command

speedtest-cli -h

Method(2): Install Speedtest from Github

  • Get speedtest-cli from github with the below command
 wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
  • Apply the executable permission on it
chmod +x speedtest-cli
  • Test the internet speed using following command
./speedtest-cli

Conclusion

That’s it.

In this article, we showed you how to check internet speed in Linux.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
MQ-Jr
MQ-Jr
unixcop Admin

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook