curl命令

                                curl命令                                    

http://blog.sina.com.cn/s/blog_4b9eab320100slyw.html

取出访问www.baidu.com页面的状态码:

curl -I -s www.baidu.com |head -1 |cut -d " " -f 2

posted @ 2016-03-29 14:21  唐胜伟  阅读(155)  评论(0)    收藏  举报