🧀 Learn Linux

Advanced·Reading and processing text

rev: Reverse characters line by line

Put in free practice

Syntax

rev [file…]

Examples

rev README.txt

Usage and sandbox support

The teaching subset is reversed by the Unicode code point and reads standard input when there is no file.

Hands-on exercises

Full documentation ↗

Related commands