The head command displays the beginning of a file or input stream. It is useful for checking headers, previewing structured data, or sampling output without printing everything.
Text-Fu · Lesson 8
head
Learn how to display a controlled number of lines or bytes from the beginning of input.