Command to return currently used network interface?
Ed. Note: There are a number of ways of doing this, so I'm curious as to what people are using in their scripts?does anyone no of a terminal command that will reveal which network interface (built-in ethernet, AirPort, etc.) is currently in use? it can return en0 or en1. i'm not looking for whether the port is active, but the one that is currently being used.
thank you,
barton
Read more›
Recent Comments