Created
August 16, 2013 14:02
-
-
Save richsoni/6250211 to your computer and use it in GitHub Desktop.
Router IP Script for Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
route -n get default | grep gateway | awk '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment