top of page
  • FC

Check your internet speed from the terminal

At times, it is nice to know that your internet connection is running at the best possible speed. This could be just for bragging rights but mostly it is for checking latency and diagnosing connection problems.


The trouble with most speed testing sites now (http://speedtest.googlefiber.net for example) is that they require a browser to perform the testing. This is great for the home user or even the windows server environments, but what about all those linux hosts? or other systems that only have a terminal window connection?


Well, here is the simple solution:


What does this command do? wget is a command line tool for downloading files from the internet, it can do loads more but we are using it to grab one specific file from a site.


The first argument we see is -o this allows us to tell wget where to put the file, in this case /dev/null this is a special file that is equivalent to nothing, anything put in there is deleted, like putting things into a black hole. We are effectively not saving it, just downloading and discarding it. The final part is the file itself.


To do reliable speed testing it needs two things, a reliable host and a standard size file. Its hard to benchmark if you're grabbing random files.


Here are a bunch of files you might want to try:


Lets see the full command for an 100MB file and the results.


--2018-07-12 12:02:47-- http://speedtest.tele2.net/100MB.zip

Resolving speedtest.tele2.net... 90.130.70.73 Connecting to speedtest.tele2.net|90.130.70.73|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 104857600 (100M) [application/zip] Saving to: ‘/dev/null’

/dev/null 100%[====================================================>] 100.00M 725KB/s in 2m 37s

2018-07-12 12:05:24 (653 KB/s) - ‘/dev/null’ saved [104857600/104857600]

694 views

Related Posts

See All

2 Comments


Agnes Lizzy
Agnes Lizzy
Oct 14, 2023

Contact him for any type of hacking, he is a professional hacker that specializes in exposing cheating spouses, and every other hacking related issues. he is a cyber guru, he helps catch cheating spouses by hacking their communications like call, Facebook, text, emails, Skype, whats-app and many more. I have used this service before and he did a very good job, he gave me every proof I needed to know that my fiancee was cheating. You can contact him on his email to help you catch your cheating spouse, or for any other hacking related problems, like hacking websites, bank statement, grades and many more. he will definitely help you, he has helped a lot of people, contact him on,…

Like

Janet Lucy
Janet Lucy
Oct 12, 2023

I’m excited to write about Henry Hacker, he is a great and brilliant hacker who penetrated my spouse’s phone without a physical installation app. And I was able to access my spouse’s phone, SMS, Whatsapp, Instagram, Facebook, Wechat, Snapchat, Call Logs, Kik, Twitter and all social media. The most amazing thing there is that he restores all phone deleted text messages. And I also have access to everything including the phone gallery without touching the phone.I can see the whole secret of my spouse. Contact him for any hacking service. He is also a genius in repairing Credit Score, increasing school grade, Clear Criminal Record etc. His service is fast. Contact:, Henryclarkethicalhacker@gmail.com and you can text, call him on whatsapp…


Like
bottom of page