Friday, February 27, 2009

The rev command

rev command is used to print the lines of a file in reverse order.
i used it with cut to cut the last column of a file . I used it
because a column in the begining used special character in it

for eg:
Irregular line
"Buongiorno","BUSA, Inc",11222,"ALT",2325,22318.75
regular line
"Buongiorno","BUSA",11222,"ALT",2325,22318.75
the comma after BUSA gives wrong column

No comments:

Setting the limits in Linux permanently

https://singztechmusings.wordpress.com/2011/07/11/ulimit-how-to-permanently-set-kernel-limits-in-linux/ app soft nofile   16384 * hard...