2016-11-16 06:44:58 +08:00
|
|
|
Long: head
|
|
|
|
Short: I
|
|
|
|
Help: Show document info only
|
|
|
|
Protocols: HTTP FTP FILE
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http ftp file
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: -I $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 4.0
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: get verbose trace-ascii
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Fetch the headers only! HTTP-servers feature the command HEAD which this uses
|
|
|
|
to get nothing but the header of a document. When used on an FTP or FILE file,
|
|
|
|
curl displays the file size and last modification time only.
|