Command Details

$ networksetup -listallhardwareports

List all network hardware ports.