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.
14
15       With no FILE, or when FILE is -, read standard input.
16
17       Mandatory arguments to long options are  mandatory  for  short  options
18       too.
19
20       -c, --bytes=[-]NUM
21              print  the  first  NUM bytes of each file; with the leading '-',
22              print all but the last NUM bytes of each file
23
24       -n, --lines=[-]NUM
25              print the first NUM lines instead of  the  first  10;  with  the
26              leading '-', print all but the last NUM lines of each file
27
28       -q, --quiet, --silent
29              never print headers giving file names
30
31       -v, --verbose
32              always print headers giving file names
33
34       -z, --zero-terminated
35              line delimiter is NUL, not newline
36
37       --help display this help and exit
38
39       --version
40              output version information and exit
41
42       NUM may have a multiplier suffix: b 512, kB 1000, K 1024, MB 1000*1000,
43       M 1024*1024, GB 1000*1000*1000, G 1024*1024*1024, and so on for  T,  P,
44       E, Z, Y.
45

AUTHOR

47       Written by David MacKenzie and Jim Meyering.
48

REPORTING BUGS

50       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
51       Report head translation bugs to <https://translationproject.org/team/>
52
54       Copyright  ©  2018  Free Software Foundation, Inc.  License GPLv3+: GNU
55       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
56       This is free software: you are free  to  change  and  redistribute  it.
57       There is NO WARRANTY, to the extent permitted by law.
58

SEE ALSO

60       tail(1)
61
62       Full documentation at: <https://www.gnu.org/software/coreutils/head>
63       or available locally via: info '(coreutils) head invocation'
64
65
66
67GNU coreutils 8.30                 July 2018                           HEAD(1)
Impressum