SQL*Plus history under Linux
rlwrap package is needed. Used like this:
$ rlwrap sqlplus user/password@sid
Nice to place alias to .bashrc:
alias sqlplus="rlwrap sqlplus"
Found answer here:
http://sysdba.wordpress.com/2006/10/08/how-to-use-rlwrap-to-get-a-command-history-in-sqlplus/
Starting with the release "Oracle 12c release 2" (SQL*Plus Release 12.2.0.1.0) they have now introduced the history command.
For the up / down arrows you probably still need rlwrap though.
Reference for history command: