[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Displaying Output Beginning with the Last Entries

To display text starting from the end of the output, enter last <lines> after the pipe symbol.

The following example displays the last entries in log-file-1 file:


user@host> show log log-file-1 | last



This filter is useful for viewing log files in which the end of the file contains the most recent entries.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]