首页 > 其他 > 详细

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

时间:2014-01-28 00:40:43      阅读:513      评论:0      收藏:0      [点我收藏+]

$ 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

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

原文:http://www.cnblogs.com/nhlinkin/p/3535214.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!