cheat.sheets:rev # rev # Reverse a string # Reverse a string echo hello world | rev # dlrow olleh # Reverse and flip echo hello world | rev | perl -Mopen=locale -Mutf8 -pe tr/a-z/ɐqɔpǝɟƃɥıɾʞlɯuodᕹɹsʇnʌʍxʎz/ # plɹoʍ ollǝɥ tldr:rev # rev # Reverse a line of text. # More information: <https://manned.org/rev>. # Reverse the text string "hello": echo "hello" | rev # Reverse an entire file and print to `stdout`: rev path/to/file $Follow @igor_chubin cheat.sh