tail [Command]



Command tail

Displays the last few lines of the file.

Syntax

tail [options] file 

Options

-N (where N – number) displays the last N lines.
-n N (where N – number) displays the last N lines.
-f reads a file at specified intervals and displays the new line.

Description

tail command displays the last lines of the file. By default last 10 lines of the file.

Leave a Reply

Your email address will not be published. Required fields are marked *