[Ilugc] 1D1C - rev

  • From: tkdhanasekar@xxxxxxxxx (Dhana Sekar)
  • 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

Other related posts: