How to: List all the network device interfaces on your Mac using Terminal


Instructions

1) Open Terminal.

2) Run the following command in Terminal:

networksetup -listallhardwareports

Outcome

The results will be displayed showing each of your network interfaces on the Mac and the associated interface code (for example, en0).

example screenshot