head -- output the first part of files


head is as specified in the Single UNIX Specification but with additional options as specified below.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

-c, --bytes=SIZE

prints first SIZE bytes. SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.


is equivalent to -n.

-q, --quiet, --silent

does not print headers giving file names.


prints headers giving file names.