Head command on Linux (see file start)
The head command in Linux is used to view the opening lines of a file. It’s the opposite of the tail command.
Suppose you only want to read the first few lines of a file. The head command shows the first 10 lines from the start of a file by default.
The frequently used option is:
-n number: Configures the number of lines that the head will show.
Example: