$ curl -L ip.cn 注: 有的网址是自动跳转的。使用`-L`参数,curl就会跳转到新的网址。 $ curl -L www.sina.com 键入上面的命令,结果就自动跳转为www.sina.com.cn。