3 04 2009

curl -I 查询文件头

bigCat Posted in Linux - Comment.isBlank

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