rev
Reverse lines characterwise.
rev [options] [file ...]Reverse lines characterwise.
Options:
-h, --help display this help
-V, --version display version
For more details see rev(1).Examples
Section titled “Examples”$ echo 'example-string' | rev
gnirts-elpmaxe