Saturday, November 2, 2024
HomeCentosHow to Test Internet Speed in Linux

How to Test Internet Speed in Linux

In this article, 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

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.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Most Popular