[kanchilug] 1D1C - rev

  • From: Dhana Sekar <tkdhanasekar@xxxxxxxxx>
  • To: ILUG-C <ilugc@xxxxxxxxxxxxx>, kanchilug@xxxxxxxxxxxxx
  • Date: Mon, 23 Sep 2013 21:58:23 +0530

command: rev
usage: reverse lines of a file or files

syntax: $ rev [-V] [-h] [file ...]

examples:

1. To print options and help of this command

    $ rev --help

2. To print Reverse the order of characters in every line

    $ cat rev.txt

    Quick brown fox jumps over the lazy dog

    $ rev rev.txt

    god yzal eht revo spmuj xof nworb kciuQ

regards,
dhanasekar
Kanchilug Blog : http://kanchilug.wordpress.com

To subscribe/unsubscribe kanchilug mailing list : 
http://kanchilug.wordpress.com/join-mailing-list/

Other related posts: