服务器查看公网IP(出口IP)

命令一:

curl ifconfig.me

或者命令二:

curl cip.cc

原文地址:https://www.cnblogs.com/IT-Crowd/p/14187999.html