aboutsummaryrefslogtreecommitdiff
path: root/coreutils-5.3.0-bin/man/cat1/head.1.txt
blob: 851f555d9300c76c8948072f3d3d41a84e02e02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
HEAD(1)                  User Commands                  HEAD(1)





NAME
       head - output the first part of files

SYNOPSIS
       head [OPTION]... [FILE]...

DESCRIPTION
       Print  the  first 10 lines of each FILE to standard out-
       put.  With more than  one  FILE,  precede  each  with  a
       header giving the file name.  With no FILE, or when FILE
       is -, read standard input.

       Mandatory arguments to long options  are  mandatory  for
       short options too.

       -c, --bytes=[-]N
              print  the  first  N bytes of each file; with the
              leading `-', print all but the last  N  bytes  of
              each file

       -n, --lines=[-]N
              print  the first N lines instead of the first 10;
              with the leading `-', print all but  the  last  N
              lines of each file

       -q, --quiet, --silent
              never print headers giving file names

       -v, --verbose
              always print headers giving file names

       --help display this help and exit

       --version
              output version information and exit

       N  may  have  a  multiplier  suffix:  b  512,  k 1024, m
       1024*1024.

AUTHOR
       Written by David MacKenzie and Jim Meyering.

REPORTING BUGS
       Report bugs to <bug-coreutils@gnu.org>.

COPYRIGHT
       Copyright (C) 2004 Free Software Foundation, Inc.
       This is free software; see the source for copying condi-
       tions.  There is NO warranty; not even for MERCHANTABIL-
       ITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO
       The full documentation for head is maintained as a  Tex-
       info manual.  If the info and head programs are properly
       installed at your site, the command

              info head

       should give you access to the complete manual.



head 5.3.0               November 2004                  HEAD(1)