Created
September 1, 2015 09:15
-
-
Save daniel-pedersen/cba61a975aa3339a2318 to your computer and use it in GitHub Desktop.
`myip` public IP lookup command
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
| # Put line below in .bash_profile or equivalent | |
| # Example: | |
| # $ myip | |
| # 111.222.333.444 | |
| alias myip = 'dig +short myip.opendns.com @resolver1.opendns.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment