Sunday, January 18, 2009

"rlwrap" tool (thank Harald's blog)


I read Harald's Blog and thank you to him, His Blog tell about rlwrap (Author: Hans Lub) tool. Actually I'm someone else, that surprised with this tool. 
A rlwrap is a 'readline wrapper' tool, that could help to recall old command(history) on sqlplus , rman and ...


$ wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.30.tar.gz

$ tar zxvf rlwrap-0.30.tar.gz

$ cd rlwrap-0.30

$ ./configure
.
.
.
Now do:
    make (or gmake)  to build rlwrap
    make check       for instructions how to test it
    make install     to install it

$ make

If you'd to make install... su to "root" before

$ su 

# make install

Test...

$ rlwrap sqlplus

$ rlwrap rman target /

Use Arrow Up/Down to recall command history... and (can edit...)

No comments: