sqlplus con historial de comandos
Si te gusta usar sqlplus y odias que no tenga historial de comandos lo siguiente te puede hacer la vida más fácil.
Existe una utilidad que permite tener un historial de tus comandos, se llama rlwrap.
rlwrap is a wrapper that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is kept between invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.
Los pasos para instalarla y correrla son:
- Descargar
rlwrap. - Es requisito tener Readline - instalar Readline.
-
Descomprime
rlwrape instala:$ ./configure $ make $ make install -
Correr
$ rlwrap sqlplus USUARIO/PASS@tns
Boom!, ahora tienes sqlplus con historial de comandos (Ctrl+r es ahora tu copiloto).