On Linux, there are various commands to get the entire contents of a text file. But what if you need a certain part or a few starting lines? The head command prints the initial content of a file on the terminal.
Source : How to Use the head Command on Linux