Today I will be showing you how to test your internet connection speed using terminal. Will be demonstrated on Linux, OSX and Windows.
Lets start with Linux, which should be very easy to do so. For Linux you do not have to download anything. The application is installed with it.
1. Open up terminal.
2. Type the following command.
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
For OSX, you have to download a separate application. If you do not have wget, you can install using the following commands.
curl -O http://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz
tar -xzf wget-1.16.tar.gz
(To avoid “GNUTLS not available” Error)
sudo make install
To check if everything was installed properly.
Clean up by
cd ..&& rm -rf wget*
After wget has been installed, open terminal and enter the following commands. There it is. You can view your internet speed through terminal.
curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
On Windows, go to, download “Complete package, except sources”. After the download has finished, open up the exe file and finish the installation. After that open up terminal and type the following commands.
C:\Program Files (x86)\GnuWin32\bin
And that’s it. You have just found out your internet speed through CMD.
If you like this article, share with your friends. Thanks.