Posts Tagged ‘curl’

1 08 2010

cURL

bigCat Posted in Linux - 1 Comment

http://curl.haxx.se/docs/manual.html\r\n常用\r\n\r\ncurl -i http://ooxx.me\r\n-I/--head          Show document info only\r\n\r\ncurl -v http://ooxx.me\r\n-v/--verbose       Make the operation more talkative

3 04 2009

curl -I 查询文件头

bigCat Posted in Linux - 0 Comment

curl -I caitou.com\n -I/--head Show document info only\n返回\n[root@caitou ~]# curl -I caitou.com\nHTTP/1.1 301 Moved Permanently\nDate: Fri, 03 Apr 2009 15:39:38 GMT\nServer: Apache/2.0.52 (Unix)\nLocation: http://code.sh/blog\nContent-Type: text/html; charset=iso-8859-1

Host: (miao) | Word: Press | Code: HTML5