Kamran Agayev’s Oracle Blog

Kamran Agayev’s Oracle Blog

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:

alias rlsqlplus=’rlwrap sqlplus’

 
Additionaly, you can download rlwrap software from below link:
 
P.S. Thanks for Tim for his article

7 Responses to “Using rlwrap to get command line history in SQL*Plus – Video Tutorial”

  1. Thanks Kamran,
    For this useful video!

  2. aditt said

    wow, this is great, we can have history in SQL*Plus instead of ^[[A :P

    thanks, downloading, and then i’ll try it :D

  3. Hi Emre. Welcome to my blog :)

  4. Good Luck Aditt !

  5. 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?

  6. 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 :)

  7. Dinesh said

    Hi Kamran,

    Nice Utility. I was wondering same thing for SOLARIS also. :) .
    Thanks in advance.

    best regards,

    Dinesh Parihar

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>