File - rlwrap-0.30.tar.gz
Location - http://utopia.knoware.nl/%7Ehlub/uck/rlwrap/
1. Download the file and gunzip the file :-
$gunzip rlwrap-0.30.tar.gz
Later you will get .tar file.
2. Un-tar the file :-
$tar –xvf rlwrap-0.30.tar
3. run the configure file:-
$./configure
4. execute the following commands:-
$make
$make check
$make install
5. make the bellow entry in .bash_profile file:-
alias sqlplus=”rlwrap sqlplus”