获取http返回码:
curl -w "%{http_code} " https://www.baidu.com -s -o /dev/null
-w 指定获取的参数-s 不显示传输进度 比如这种 ##########100%
-o 输出到哪里