rev - reverse lines characterwise
$ vim file.txt
This is sample test file
:x
$ rev file.txt
$ rev
linux
foss
ilugc
$ echo This is sample file | rev
regards,
T.Dhanasekar
---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat