Created
March 23, 2016 12:04
-
-
Save jnyryan/4a2b02ca2c8e92cae3d5 to your computer and use it in GitHub Desktop.
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
| alias cls=clear | |
| # get ip address | |
| alias getipaddr='ipconfig getifaddr en0' | |
| # get external ip address | |
| alias getextipaddr='curl ipecho.net/plain; echo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment