i want to know through shell, which network service is currently used to connect to network, I mean my pc is connected through which service i.e. is there any way to get connected status of all the network services configured in Network Settings. I tried the shell command networksetup -listallnetworkservices, which gave output as : ******** An asterisk (*) denotes that a network service is disabled. Ethernet FireWire AirPort ******** Now I am connected to network through ethernet, and this command tells the enable-disable status only, so can I know through command that I am connected to network through Ethernet network service and not through Firewire or Airport???