head - copy the first part of files
The head utility copies its input files to the standard output, ending the output for each file at a designated point.
Copying ends at the point in each input file indicated by the -n number option. The option-argument number is measured in units of lines.
The first number lines of each input file will be copied to standard output. The number option-argument has to be a positive decimal integer.
When a file contains less than number lines, it is copied to standard output entirely.
If no options are specified, head acts if -n 10 has been specified.
The following operand is supported:
A pathname of an input file. If no file operands are specified, the standard input is being used. If a file is ’-’, the head utility reads from the standard input.
© 2021 Benjamin StÃ¼rz
Generated using groff on 2022-01-16 22:48:31 (UTC)
Look at my source code on
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion