1HEAD(1)                          User Commands                         HEAD(1)
2
3
4

NAME

6       head - output the first part of files
7

SYNOPSIS

9       head [OPTION]... [FILE]...
10

DESCRIPTION

12       Print  the  first  10 lines of each FILE to standard output.  With more
13       than one FILE, precede each with a header giving the file  name.   With
14       no FILE, or when FILE is -, read standard input.
15
16       Mandatory  arguments  to  long  options are mandatory for short options
17       too.
18
19       -c, --bytes=[-]K
20              print the first K bytes of each  file;  with  the  leading  '-',
21              print all but the last K bytes of each file
22
23       -n, --lines=[-]K
24              print  the first K lines instead of the first 10; with the lead‐
25              ing '-', print all but the last K lines of each file
26
27       -q, --quiet, --silent
28              never print headers giving file names
29
30       -v, --verbose
31              always print headers giving file names
32
33       --help display this help and exit
34
35       --version
36              output version information and exit
37
38       K may have a multiplier suffix: b 512, kB 1000, K 1024, MB 1000*1000, M
39       1024*1024,  GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E,
40       Z, Y.
41
42       GNU  coreutils  online  help:  <http://www.gnu.org/software/coreutils/>
43       Report head translation bugs to <http://translationproject.org/team/>
44

AUTHOR

46       Written by David MacKenzie and Jim Meyering.
47
49       Copyright  ©  2013  Free Software Foundation, Inc.  License GPLv3+: GNU
50       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
51       This is free software: you are free  to  change  and  redistribute  it.
52       There is NO WARRANTY, to the extent permitted by law.
53

SEE ALSO

55       The  full documentation for head is maintained as a Texinfo manual.  If
56       the info and head programs are properly installed  at  your  site,  the
57       command
58
59              info coreutils 'head invocation'
60
61       should give you access to the complete manual.
62
63
64
65GNU coreutils 8.22               October 2018                          HEAD(1)
Impressum