備忘
- -I : ヘッダのみ表示
- -H : Hostでホスト指定
$ curl -I http://192.168.0.100/myindex.html -H 'Host: test.example.com'
- -D - : ヘッダ含んで標準出力ダンプ
$ curl -D - http://test.example.com/
- -O : ファイルのダウンロード
$ curl http://test.example.com/myindex.html -O
- -o : ファイル名指定しダウンロード
$ curl http://test.example.com/myindex.html -o aaa.html