因工作需求,需要用到获取公网IP信息:
echo $(curl -s http://txt.go.sohu.com/ip/soip)| grep -P -o -i "(\d+\.\d+.\d+.\d+)"
转载于:https://blog.51cto.com/461205160/1968336
因工作需求,需要用到获取公网IP信息:
echo $(curl -s http://txt.go.sohu.com/ip/soip)| grep -P -o -i "(\d+\.\d+.\d+.\d+)"
转载于:https://blog.51cto.com/461205160/1968336