← Command encyclopedia

head

Print the first lines of input.

Executable in the CoreQ simulator

Syntax

head [-n N] [FILE...]

Practise it now in the Linux sandbox. Type man head there for a quick summary.

Learn it in

Related commands

cattacrevnltailwcgrepsort