HEAD(1) General Commands Manual HEAD(1)

headcopy the first part of files

head [-n number] file ...

The head utility copies the initial number of lines from each file to the standard output. If no file is given, head reads from the standard input.

number
Set the amount of lines to be copied.

If number is ommited, it defaults to 10.

The head utility exits 0 on success, and >0 if an error occurs.

tail(1)

The head utility is compliant with the specification.

December 29, 2019 EltaninOS