Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question already has an answer here:

How can I get the speed of my internet connection from the terminal? Is there any script or commandline application(s) available?

I'm using CentOS 6.5 .

share|improve this question

marked as duplicate by slm, jasonwryan, Anthon, terdon, michas Jan 2 at 23:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Please take a look at my answer to that duplicate, I cover 4 excellent tools for looking at network bandwidth there. –  slm Jan 2 at 22:31
    
there's a complete discussion about it : How to check Internet Speed via Terminal? –  Slyx Jan 2 at 23:13

1 Answer 1

up vote 3 down vote accepted

you can do it, open your terminal and type as

  wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
     chmod +x speedtest-cli
    ./speedtest-cli

For example:

[raja@localhost ~]$     ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from BSNL (XXX.XXX.XXX.XXX)...
Selecting best server based on ping...
Hosted by BEAM TELECOM (Hyderabad) [19.00 km]: 39.975 ms
Testing download speed........................................
Download: 1.16 Mbit/s
Testing upload speed..................................................
Upload: 0.38 Mbit/s
[raja@localhost ~]$

Thanks to LinOxide.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.