find largest file and print first 5 lines bash code example
Example 1: only show first lines linux
head -10 bar.txt
Example 2: print first lines of file linux
With the flag -n | N, the head command prints out the first N lines of file(s)
head -n 7 file.txt #Prints first 7 lines of file.txt