19.9 C
Texas
Muhammad Nabeel
Network and System Administrator

How to Test Internet Speed in Linux

In this tarticle, you will learn that how to install Speedtest-cli to test the network (Bandwidth) speed of your server and how to use it in Linux. Speedtest-cli is a command line interface to test internet providing by speedtest.net.

Install Speedtest-CLI on CentOS 8 and RHEL 8 and Fedora

This tool is written in python so we must install python before proceeding. so run below command and install python.

dnf install -y python36

Create soft link for python3

- Advertisement -
ln -s /usr/bin/python3.6 /usr/bin/python

Downoad speedtest_cli using below commands

cd
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

Make the script executable

chmod +x speedtest-cli

Finally run below command to test internet bandwidth

./speedtest-cli

Install Speedtest-CLI on Ubuntu

sudo apt-get install speedtest-cli
speedtest-cli

That’s it. Now you learned that how to install speedtest-cli command line interface for testing internet bandwidth using speedtest.net on a CentOS/RHEL/Fedora/Ubuntu Linux.

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article