How to test the speed of the internet connection in the Linux terminal

How to test the speed of the internet connection in the Linux terminal