美文网首页
Linux / Mac 通过命令查看外网IP

Linux / Mac 通过命令查看外网IP

作者: Max____ | 来源:发表于2019-08-26 09:58 被阅读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'

相关文章

网友评论

      本文标题:Linux / Mac 通过命令查看外网IP

      本文链接:https://www.haomeiwen.com/subject/ijtrectx.html