Loading

在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'

posted @ 2022-03-28 13:36  老卫同学  阅读(510)  评论(0)    收藏  举报