rev - reverse the characters or lines of one or more files
rev [ options ] [file ...]
copies one or more files to standard output reversing the order of characters on every line of the file or reversing the
order of lines of the file if -l
If no file is given, or if the file is -, rev copies from standard input starting at the current
- -l, --line
Reverse the lines of the file.
- All files copied successfully.
One or more files did not copy.