Tail

The tail tool is a Linux command line tool that, as the name implies, outputs the top N number of lines of given input text. By default tail will output the last 10 lines of the specified file or provided text. If more than 10 lines are desired a number can be specified with the -n flag. tail is also the counterpart to Head.

For example:

tail /etc/passwd

Will give us the last 10 lines of /etc/passwd:

This page was last updated: 2025-02-20 Thu 02:47. Source