petak, 17. veljače 2012.

Get your external IP address

Get your external IP address

$ $ curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"

or

$ dig +short myip.opendns.com @resolver1.opendns.com

or

$ curl ip.appspot.com

or

$ sudo apt-get install curl

$ curl ifconfig.me

$ watch -n 1 "netstat -tpanl | grep ESTABLISHED"
Monitor TCP opened connections

Nema komentara:

Objavi komentar