Created
December 25, 2019 12:08
-
-
Save Efrat19/c1df56f9bd81164f99d635289f3d1964 to your computer and use it in GitHub Desktop.
get public ip
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
curl -s http://checkip.dyndns.org/ | cut -d ' ' -f 6 | sed s/"body\|html\|<\|>\|\/"//g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment