Linux命令行下獲得公網IP

[root@localhost ~]# curl http://www.ip138.com/ips1388.asp | grep ip_add.asp

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 9206 100 9206 0 0 26580 0 --:--:-- --:--:-- --:--:-- 414k

<td align="center">如果您發現查詢結果不詳細或不正確,請使用<a href="ip_add.asp?ip=223.240.28.249"><font color="#006600"><b>IP數據庫自助添加</b></font></a>功能進行修正<br/>



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章