A diretiva -I serve para obter o HTTP-header. Exemplos:
[php]
shutup:~ rodrigo$ curl -I www.microsoft.com
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 0
Server: Microsoft-IIS/8.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-AspNet-Version: 2.0.50727
VTag: 791937355600000000
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Wed, 18 Jun 2014 04:10:49 GMT
shutup:~ rodrigo$ [/php]
Outro exemplo:
[php]shutup:~ rodrigo$ curl -I www.nginx.com
HTTP/1.1 301 Moved Permanently
Server: nginx/1.5.12
Date: Wed, 18 Jun 2014 04:11:43 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: http://nginx.com/
shutup:~ rodrigo$ [/php]