Understanding ‘tail’ command in Linux

These commands are used to execute the function quite properly. With these functions, manual overhead of the operations can easily be managed. The command ‘tail’ is considered as one other important commands that Linux Hosting offers to the professionals, ‘tail’ is pivotal one.

Command tail displays last 10(by default) lines of a file.

Syntax:

$ tail filename Displays the last 10 lines from the ending

$tail -12 filename Displays the last 12 lines from the ending

Rate this post:


1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...