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