link
linux/head

Show File Start

Output first part of files

filesystem
text

Command

head

Examples

Show first 10 lines

head file.txt

Show first 5 lines

head -n 5 file.txt