head.d 383 B

123456789101112
  1. Long: head
  2. Short: I
  3. Help: Show document info only
  4. Protocols: HTTP FTP FILE
  5. Category: http ftp file
  6. Example: -I $URL
  7. Added: 4.0
  8. See-also: get verbose trace-ascii
  9. ---
  10. Fetch the headers only! HTTP-servers feature the command HEAD which this uses
  11. to get nothing but the header of a document. When used on an FTP or FILE file,
  12. curl displays the file size and last modification time only.