Using rlwrap to get command line history in SQL*Plus – Video Tutorial
Posted by Kamran Agayev A. on July 4, 2009
By viewing .bashrc file, it wasn’t recorded the “alias line” which I’ve added
The line is as below:
The line is as below:
alias rlsqlplus=’rlwrap sqlplus’
Additionaly, you can download rlwrap software from below link:



Emre Baransel said
Thanks Kamran,
For this useful video!
aditt said
wow, this is great, we can have history in SQL*Plus instead of ^[[A
thanks, downloading, and then i’ll try it
Kamran Agayev A. said
Hi Emre. Welcome to my blog
Kamran Agayev A. said
Good Luck Aditt !
Ahmet said
Thank you for this useful information!
Is it necessary to shutdown all Oracle processes (database,listener, etc.) on the server before apply it? Or should I plan an outage for this change?
Kamran Agayev A. said
You’re welcome Ahmet
It’s not necessary to shutdown Oracle, listener and etc. Just install this software, make changes to bashrc file to add an alias in order to simplify its usage. That’s all
Dinesh said
Hi Kamran,
Nice Utility. I was wondering same thing for SOLARIS also.
.
Thanks in advance.
best regards,
Dinesh Parihar