How to check Internet Speed via Terminal?

Check internet speed by speedtest.net

 

You can also install iperf.

apt-get install iperf