head.md (519B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: head 5 Short: I 6 Help: Show document info only 7 Protocols: HTTP FTP FILE 8 Category: http ftp file 9 Added: 4.0 10 Multi: boolean 11 See-also: 12 - get 13 - verbose 14 - trace-ascii 15 Example: 16 - -I $URL 17 --- 18 19 # `--head` 20 21 Fetch the headers only. HTTP-servers feature the command HEAD which this uses 22 to get nothing but the header of a document. When used on an FTP or FILE URL, 23 curl displays the file size and last modification time only.