nhlinkin

【转】用Linux命令行获取本机外网IP地址

$ curl ifconfig.me
$ curl icanhazip.com
$ curl ident.me
$ curl ipecho.net/plain
$ curl whatismyip.akamai.com
$ curl tnx.nl/ip
$ curl myip.dnsomatic.com
$ curl ip.appspot.com
$ curl -s checkip.dyndns.org | sed \'s/.*IP Address: \([0-9\.]*\).*/\1/g\'

 

转自:http://xmodulo.com/2013/04/how-to-find-the-public-ip-address-from-command-line.html

发表于 2014-01-27 21:10  菲一打  阅读(13328)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章: