Created
April 27, 2020 08:08
-
-
Save mikenoethiger/57376b6c14816c5c05fd8484af94ddff to your computer and use it in GitHub Desktop.
Get public ip address via terminal
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
| wget http://ipecho.net/plain -O - -q ; echo | |
| # or add this to ~/.bash_aliases or ~/.zshrc in order to make the command available by the `ip` alias | |
| # alias ip="wget http://ipecho.net/plain -O - -q ; echo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment