Linux terminal determine public ip
1 2 |
$coder_kutay#: curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' |
other choices
1 2 3 4 5 6 7 8 9 10 11 |
curl kutayzorlu.com/ip curl ident.me curl ifconfig.me curl tnx.nl/ip curl icanhazip.com curl ipecho.net/plain curl ip.appspot.com curl whatsmyip.akamai.com |
1 2 3 4 5 6 7 8 9 10 11 12 |
#Using wget $ wget http://ipecho.net/plain -O - -q ; echo $ curl ipecho.net/plain; echo # wget $ wget http://observebox.com/ip -O - -q ; echo $ curl icanhazip.com $ curl ifconfig.me |