Команда head
Displays the first ten lines of a file, unless otherwise stated.
head [-number | -n number] filename
| -number | The number of the you want to display. |
| -n number | The number of the you want to display. |
| filename | The file that you want to display the x amount of lines of. |
head -15 myfile.txt - Would display the first fifteen lines of myfile.txt.