head is a program that shows the first 10 lines by default of a file or pipedd data, on Unix and Unix-like systems.

It is useful when a file's contents need to be checked, but the whole file does not need to be viewed.

This article is a stub. You can help Wikipedia by fixing it.