The simplest way to accomplish this is with the tac command (the reverse of cat). The task can also be done with awk.
Linux Shell Scripting Cookbook - Third Edition
by Shantanu Tushar
Published by
Packt Publishing, 2017
The simplest way to accomplish this is with the tac command (the reverse of cat). The task can also be done with awk.