Linux云计算交流群:720995729

48571-tlqjhvsy1g.png

如果需要知道地址和运营商推荐http://cip.cchttp://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.打码

标签: shell脚本, linux教程

添加新评论