Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

rev

Reverse characters in each line

Syntax

rev [OPTION]... [FILE]...

Common Examples

rev file.txt

Reverse each line

echo "hello" | rev

Reverse a string

rev file1.txt file2.txt

Reverse multiple files

Related Commands

Related Tools

More Code & Dev Tools