在Linux上查看公网IP命令
可以直接输入如下几个命令:
1、curl ifconfig.me
2、curl cip.cc
3、curl icanhazip.com
4、curl ident.me
5、curl ipecho.net/plain
6、curl whatismyip.akamai.com
7、curl tnx.nl/ip
8、curl myip.dnsomatic.com
9、curl ip.appspot.com
10、curl -s checkip.dyndns.org | sed 's/.IP Address: ([0-9.]).*/\1/g'

浙公网安备 33010602011771号