logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

head - Print the first 10 lines of each `FILE` to standard output. With more than one `FILE`, precede

Description

       Print the first 10 lines of each `FILE` to standard output.  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 flags are mandatory for short flags too.

Name

       head  -  Print  the first 10 lines of each `FILE` to standard output.  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 flags are mandatory for short flags too.

Options

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

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

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

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

       -z, --zero-terminated
              line delimiter is NUL, not newline

       -h, --help
              Print help

       -V, --version
              Print version

       [FILE]

Synopsis

head   [-c|--bytes]   [-n|--lines]   [-q|--quiet]   [-v|--verbose]   [-z|--zero-terminated]   [-h|--help]
       [-V|--version] [FILE]

Version

       v0.0.30

                                                   head 0.0.30                                           head(1)

See Also