• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Check Internet Speed In Ubuntu Terminal

How To Check Internet Speed In Ubuntu Terminal

By Sourabh / April 11, 2023 Category: How To, Ubuntu

If Linux internet is not working, here is how to check network connection in Ubuntu terminal. You can also check internet speed in Ubuntu terminal.

Read to learn how to do this.

speedtest-cli

The speedtest-cli is a command line interface for testing Internet bandwidth using speedtest.net Speedtest-cli is a script written in the Python programming language which measures the Internet speed bidirectionally.

This application allows you to check your Internet speed upon distance in km, it can test against specific servers and it also provides a URL so that you can share your result on the Internet.

Install speedtest-cli on Ubuntu

Run the following commands to install speedtest-cli on Ubuntu:

sudo apt-get update
sudo apt-get install python-pip
sudo pip install speedtest-cli

Once installed, you can use it via Terminal commands.

Using speedtest-cli

speedtest-cli

The speedtest-cli command can be used to check the Internet speed on Ubuntu Linux Systems. The command has the following format:

speedtest-cli [-h] [--bytes] [--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER] [--csv-header] [--json] [--list] [--server SERVER] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT] [--secure] [--version]

The easiest way to use the command is without any argument:

$ speedtest-cli

The command shows the download speed and upload speed in Mbit/s. If you wish to get the speed results in bytes, run:

$ speedtest-cli --bytes

Whereas the command when used with –simple argument, displays only the basic information like ping, download and upload speed.

$ speedtest-cli --simple

You can also share the speed results as image using the command speedtest-cli –share.

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap