Connect with us

Quickly Test Your Internet Connection Speed Using Command Line

TechGreatest

Quickly Test Your Internet Connection Speed Using Command Line

Testing your internet connection speed on your Mac can be done with different ways.. First there is an app called wget for OS X that most of you probably heard about it.. Using this app you will be able to know your internet connection speed..

If you’re already familiar with the command line you know what to do, but others can install wget, then launch Terminal (found in /Applications/Utilities/) and paste the following command string into the terminal:

wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip

Now take a closer look at the righthand side of wget as it runs and you’ll see the connection speed (1.36m/s in the screen shot example). Because wget is pointing the downloaded file at /dev/null it won’t actually take up any hard drive space, so there is no concern about running this command repeatedly (As shown in the picture above).

Plan on using this trick often? Consider adding a simple alias to .bash_profile:

alias speedtest=’wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip’

Using an alias is obviously shorter and easier to remember, making it a bit more useful for scripts, automation, remote testing, and just for those of us who like to poke around in the Terminal.

We hope you liked this OS X tip we post it almost everyday… So what do you think about this tip ?
Testing your internet connection speed on your Mac can be done with different ways.. First there is an app called wget for OS X that most of you probably heard about it.. Using this app you will be able to know your internet connection speed..



If you’re already familiar with the command line you know what to do, but others can install wget, then launch Terminal (found in /Applications/Utilities/) and paste the following command string into the terminal:
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
Now take a closer look at the righthand side of wget as it runs and you’ll see the connection speed (1.36m/s in the screen shot example). Because wget is pointing the downloaded file at /dev/null it won’t actually take up any hard drive space, so there is no concern about running this command repeatedly (As shown in the picture above).

Plan on using this trick often? Consider adding a simple alias to .bash_profile:
alias speedtest='wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip'
Using an alias is obviously shorter and easier to remember, making it a bit more useful for scripts, automation, remote testing, and just for those of us who like to poke around in the Terminal.

We hope you liked this OS X tip we post it almost everyday... So what do you think about this tip ?

Comments

More in TechGreatest

Popular

Featured

Advertisement
To Top