Reverse a line of text or a file. More information: https://manned.org/rev.
rev
echo "hello" | rev
stdout
rev path/to/file
rev -0 path/to/file
rev -h
rev -V