shell curl http状态码获取

来源:互联网 发布:百分百软件 编辑:程序博客网 时间:2024/06/06 14:13

curl -I -m 10 -o /dev/null -s -w %{http_code}  www.baidu.com


0 0