Linux Blog

REV

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
 

NAME

rev - reverse lines of a file  

SYNOPSIS

rev [file ]  

DESCRIPTION

The rev utility copies the specified files to the standard output, reversing the order of characters in every line. If no files are specified, the standard input is read.


 

Index

NAME
SYNOPSIS
DESCRIPTION

Linux Blog

»

examples of using rev



Last 50 Characters of Each line