Translate

Search This Blog

Enabling command history in sqlplus on linux

command history in linux :tested in rhel3 , other
flavours esp. fedora may require slight modification


downlaod rpm file rlwrap_0.18_1.i386.rpm (24k)
Install the atatched package by going in the download
location of the attached rpm from root user.

rpm -ivh rlwrap-0.18-1.i386.rpm

and then
add following lines to the .bashrc

alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias exp='rlwrap exp'

logout and login back ,now your oracle command line
tool behaves same as in windows command history.

Follow by Email