Rlwrap-sqlplus flexible use of the up and down keys and the back and forth keys in Linux sqlplus is inconvenient to use. Both the up and down keys and the back and forth keys are not available, seriously reducing production efficiency. Rlwrap can solve this problem! Download rlwrap: http://download.csdn.net/detail/sharqueen/5433087 1. Install readline (install the appropriate rpm package). The readline package is provided in the OS installation CD. [root @ oracle11g ~] # Rpm-Uvh readline * error: Failed dependencies: libtermcap-devel is needed by readline-devel-5.1-1.1.i386.rpm [root @ oracle11g ~] # Rpm-Uvh libtermcap-devel-2.0.8-46.1.i386.rpm [root @ oracle11g ~] # Rpm-Uvh readline * package readline-5.1-1.1 is alreadyinstalled [root @ oracle11g ~] # Rpm-Uvh readline-devel-5.1-1.1.i386.rpm 2: Install rlwrap [root @ oracle11g ~] # Tar-zxvf rlwrap-0.30.tar.gz [root @ oracle11g ~] # Cd rlwrap-0.30 [root @ oracle11g rlwrap-0.30] #./configurechecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnu ......... Configure: creating. /config. statusconfig. status: creating Makefileconfig. status: creating doc/Makefileconfig. status: creating src/Makefileconfig. status: creating doc/rlwrap. manconfig. status: creatingdistribution/rlwrap. specconfig. status: creating config. hconfig. status: executing depfiles commands Now do: make (or gmake) to build rlwrap make check for instructionshow to test it make install to inst All it [root @ oracle11g rlwrap-0.30] # make [root @ oracle11g rlwrap-0.30] # make install three: easy to use rlwrap [root @ oracle11g rlwrap-0.30] # vi/home/oracle /. when alias sqlplus = 'rlwrap sqlplus 'alias rman = 'rlwrap rman' is added to bash_profile, The rlwrap tool is called when the sqlplus/as sysdba command is used to connect to the database, so that SQL Plus in Linux can be used as in Windows.