如何在命令行快速获取公网动态IP 地址
Linux云计算交流群:720995729
如果需要知道地址和运营商推荐http://cip.cc和http://myip.ipip.net网址:
[root@www.lutixia.cn ~]# curl cip.cc
IP : 171.43.148.打码
地址 : 中国 ...
运营商 : 电信
...
URL : http://www.cip.cc/171.43.148.打码
[root@www.lutixia.cn ~]# curl myip.ipip.net
当前 IP:171.43.148.打码 来自于:中国 。。。 电信
如果只是想知道公网地址,则推荐ip.sb,http://ifconfig.me网址:
[root@www.lutixia.cn ~]# curl ip.sb
171.43.148.打码
[root@www.lutixia.cn ~]# curl ifconfig.me
171.43.148.打码
[root@www.lutixia.cn ~]# curl ip.threep.top
171.43.148.打码