rev

Usage

rev [OPTIONS] [FILE]

Flags

-V, --version
    Display version information and exit.

-h, --help
    Display help text and exit.

Examples

reverse a string

echo 'string' | rev

reverse a file

rev file1

Also see

N/A