Exadata cellcli is not as dumb as other Oracle command line tools
By katsumii on Sep 30, 2013
It is sort of a tradition that Oracle DB CLIs doesn't support command line editing or
history. Cases in point are sqlplus, rman, asmcmd.
I recently learned that Exadata Storage Server's CLI, which is 'cellcli', is an exception.
As the source says, it implements JLine.
JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline.
Here are key bindings that work as same as in bash.
Cursor keys, Ctrl-P(Previous command), Ctrl-N(Next Command).
cellcli saves history on exit and reads that in on startup , too.
Here are keys that doesn't work.
Ctrl-R(Search history), Alt-D(Delete word), Ctrl-C(Quit editing)
This is not a complete comparision.
If there's a comparison between readline vs JLine, I think that applies to cellcli, too.