Skip to the content.

Home / cs-notes / Operating System / Linux / Commands / head

NAME
       head - output the first part of files
       -n, --lines=[-]K
              print the first K lines instead of the first 10; with the leading '-', print all but the last K lines of each file