tac — Print File Lines in Reverse Order
The tac command prints a file from bottom to top. It is similar to cat, but it reverses the order of lines. Basic use This can be useful when reading logs or text files where the newest lines are at the end. Example with a log file For large log files, tools like tail, less, … Read more