The Fidelix Linux Distribution

Simple, Stable, and Secure

HEAD(1) User Commands HEAD(1)

head - manual page for head 1.31.1

head [OPTIONS] [FILE]...

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

Print first 10 lines of each FILE (or stdin) to stdout. With more than one FILE, precede each with a filename header.

-n N[kbm]
Print first N lines
-n -N[kbm]
Print all except N last lines
-c [-]N[kbm]
Print first N bytes
-q
Never print headers
-v
Always print headers

N may be suffixed by k (x1024), b (x512), or m (x1024^2).

April 2020 Fidelix 1.0