in

Mencari Public IP dengan Linux terminal

- - No comments
Beberapa contoh command untuk mengetahui IP public lewat terminal
OS test case : RHEL5.5 and Ubuntu.


$ wget http://ipecho.net/plain -O - -q ; echo
36.33.32.1x7

$ curl ipecho.net/plain; echo
36.33.32.1x7

$ curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
36.33.32.1x7

$ curl icanhazip.com
36.33.32.1x7

No comments

Post a Comment