Command: head
Show the start of a file.
head -n 5 /etc/services
-n 5 means show five lines. You may see the shorter old form head -5, but use -n when teaching yourself because it states what the number controls.
Docs Pointers
- Run
man head. - Read reading files.

Linux Foundations