Linux rev command: reverses the order of each line of characters to display the contents of the file
Linux rev command Function Description
Use the rev command to reverse the order of each line of characters to display the file contents.
Linux rev command Syntax
rev [File]
Linux rev command Demo
Reverses the order of each line to show the contents of the apidemos.com.txt file
rev apidemos.com.txt
Output: