Bash命令查找本机公网IP

用Bash命令查找本机公网IP

wget -qO - http://ipecho.net/plain; echo
curl https://ip.cn
curl cip.cc
curl ipinfo.io
curl myip.ipip.net
curl ifconfig.co
curl ifconfig.me
curl api.ipify.org
curl http://members.3322.org/dyndns/getip
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

posted @ 2018-10-12 11:57  衡子  阅读(856)  评论(1编辑  收藏  举报