curlでステータスコードのみ取得 Jul 19, 2018 $ curl -LI mazgi.com -o /dev/null -w '%{http_code}\n' -s cURLでHTTPステータスコードだけを取得する