Displaying the first few lines of a file
Displaying the first few lines of a file
To display the first 10 lines of a text file use the command:
head
filename
Examples
Top document