Back to DevOps Series
How to use Head Full explain:

How to use Head Full explain:

1. head Command

Definition

head displays the first few lines of a file.

Syntax

Loading...

Example

Suppose students.txt contains:
Loading...
Run:
Loading...
Output (default first 10 lines):
Loading...

Show first 5 lines

Loading...
Output
Loading...

Show first 20 lines

Loading...
or
Loading...