Debian Codegraph @

upstream/mageia-cauldron/man1/head.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH HEAD "1" "September 2025" "GNU coreutils 9.8" "User Commands"
3 .SH NAME
4 head \- output the first part of files
5 .SH SYNOPSIS
6 .B head
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Print the first 10 lines of each FILE to standard output.
12 With more than one FILE, precede each with a header giving the file name.
13 .PP
14 With no FILE, or when FILE is \-, read standard input.
15 .PP
16 Mandatory arguments to long options are mandatory for short options too.
17 .TP
18 \fB\-c\fR, \fB\-\-bytes\fR=\fI\,[\-]NUM\/\fR
19 print the first NUM bytes of each file;
20 with the leading '\-', print all but the last
21 NUM bytes of each file
22 .TP
23 \fB\-n\fR, \fB\-\-lines\fR=\fI\,[\-]NUM\/\fR
24 print the first NUM lines instead of the first 10;
25 with the leading '\-', print all but the last
26 NUM lines of each file
27 .TP
28 \fB\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
29 never print headers giving file names
30 .TP
31 \fB\-v\fR, \fB\-\-verbose\fR
32 always print headers giving file names
33 .TP
34 \fB\-z\fR, \fB\-\-zero\-terminated\fR
35 line delimiter is NUL, not newline
36 .TP
37 \fB\-\-help\fR
38 display this help and exit
39 .TP
40 \fB\-\-version\fR
41 output version information and exit
42 .PP
43 NUM may have a multiplier suffix:
44 b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,
45 GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y, R, Q.
46 Binary prefixes can be used, too: KiB=K, MiB=M, and so on.
47 .SH AUTHOR
48 Written by David MacKenzie and Jim Meyering.
49 .SH "REPORTING BUGS"
50 Report bugs to: bug\[email protected]
51 .br
52 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
53 .br
54 General help using GNU software: <https://www.gnu.org/gethelp/>
55 .br
56 Report any translation bugs to <https://translationproject.org/team/>
57 .SH COPYRIGHT
58 Copyright \(co 2025 Free Software Foundation, Inc.
59 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
60 .br
61 This is free software: you are free to change and redistribute it.
62 There is NO WARRANTY, to the extent permitted by law.
63 .SH "SEE ALSO"
64 \fBtail\fP(1)
65 .PP
66 .br
67 Full documentation <https://www.gnu.org/software/coreutils/head>
68 .br
69 or available locally via: info \(aq(coreutils) head invocation\(aq