Debian Codegraph @

upstream/debian-trixie/man1/head.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH HEAD "1" "June 2025" "GNU coreutils 9.7" "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 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
51 .br
52 Report any translation bugs to <https://translationproject.org/team/>
53 .SH "SEE ALSO"
54 \fBtail\fP(1)
55 .PP
56 .br
57 Full documentation <https://www.gnu.org/software/coreutils/head>
58 .br
59 or available locally via: info \(aq(coreutils) head invocation\(aq
60 .PP
61 .br
62 Packaged by Debian (9.7\-3)
63 .br
64 Copyright \(co 2025 Free Software Foundation, Inc.
65 .br
66 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
67 .br
68 This is free software: you are free to change and redistribute it.
69 .br
70 There is NO WARRANTY, to the extent permitted by law.