[Shell command] curl コマンドで HTTP ステータスコードを表示させる

作成日: 2018年03月20日

-I オプションを付けると、HTTP ステータスコードを表示させることができます。

curl -I http://example.com
Shell command