Check ethernet connection speed on the Mac os x command

Fig.01: Check ethernet connection speed on the Mac os x command

Fig.01: Check ethernet connection speed on the Mac os x command

To check Ethernet connection speed on the Mac os x, enter:
ifconfig
ifconfig en6
ifconfig en6 | grep media

Sample outputs:

en6: flags=8863 mtu 1500
	options=10b
	ether 68:5b:35:c1:e0:53 
	inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
	media: autoselect (100baseTX )
	status: active

So my en6 (Thunderbolt enternet) speed is 100Mbps which is connected to my ISP router.

Examples and usage: How to get Ethernet Link Speed in MAC OS X Through Command Prompt