head - prints first 10 lines of each file to standard output

Usage: head [options] [<file>]...

Example

sxx
head /etc/passwd

Options

long option short option description
‑‑help ‑h Print help and exit.
‑‑lines=[-]NUM ‑n=[-]NUM Print first NUM lines instead of first 10; with the leading '-' print all but the last NUM lines.

Implementation

Reference