head(1) - SerenityOS man pages

#Name

head - output the first part of files

#Synopsis

$ head [option...] [file...]

#Description

Print the first 10 lines of each file to standard output. With more than one file, precede each with a header giving the file name.

With no file, or when file is -, read standard input.

#Arguments

#Options

#Examples

# Print the first four lines from README.md and precede it with a filename header
$ head -v -n 4 README.md
==> README.md <==
# SerenityOS

Graphical Unix-like operating system for x86 computers.

#See also