|
1
curl ifconfig.me
|
|
3
给你个国内 速度超快的版本
curl 115.29.200.26 |
|
5
|
|
6
|
|
7
|
|
8
curl ip.qaros.com
|
|
9
以前写了一个,就是curl ip138页面里面嵌的那个iframe,然后grep一下
不过刚才再去看,ip138变聪明了,嵌的那个iframe src会变了 |
|
11
试试这个脚本
URL=ip.cn help() { echo -e " myip # get your ip myip ipadress # get your adress from ip myip -h # display this help message\n" } if [[ "$1" == "-h" || "$1" == "--help" ]]; then help exit 0 elif [ -z "$1" ]; then curl $URL else curl ${URL}/index.php?ip=$1 fi |
|
likebetaSep 5, 2015
13
补充一个`curl ns1.dnspod.net:6666`
|