How to Reverse Line and Character Order in a File in Linux
Linux makes it easy to reverse the order of lines in a file or reverse the order of characters on each line.
How to Reverse Line and Character Order in a File in Linux
Source: Linuxtoday.com