< All Docs

Command-line internet speed tests in CentOS 7

Create a Microhost account to try this guide with a $50 credit.

Table of Content


Speed test is an old standby. It's written in Python, packaged in Apt, and also available through pip. It can be used as a command-line tool or as part of a Python script.

Step1. Login into the server using root credentials on putty .

Step 2. Then enter the following command to install Python.

 # yum install -y python 

Step 3. Enter the following command after installing Python to download SpeedTest-Cli on your server.

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

Step 4. To give the SpeedTest tool executable access, run the following command after downloading it.

 # chmod +x speedtest-cli 

Step 5. After you've completed the preceding steps, type the following command to begin the speed test.

 # ./speedtest-cli 

Thank you!!

Previous Change SSH Default Port 22 to Custom Port
Next Create a New User in MySQL and Learn How to Grant Permissions
Table of Contents