rev

Reverse a line of text. More information: <https://manned.org/rev>.

Install

All systems
curl cmd.cat/rev.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/rev rev powered by Commando

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

© tl;dr; authors and contributors