2 Minutes To Code (β Version)

'head' command - 2 minute tutorial

Overview of 'head' command

The 'hea' command is used to get the first n lines from the beginning of a flat file.

We will start with a few basic examples and then explore all the advanced options that 'head' provides in the next few pages.