Created
March 31, 2017 11:08
-
-
Save matthiasbalke/eaf08227bf80f6bb4ee0f95195d7c82b to your computer and use it in GitHub Desktop.
Get external IP from console
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
| #!/bin/bash | |
| wget -q -O - http://www.wieistmeineip.de/ | grep -A2 '<div id="ipv4"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment