安装方法: 1. tar -jxvf rlwrap-0.28.tar.bz2 2. cd rlwrap-0.28 3. configure && make && make install 4. vi .bash_profile 加入下面内容 alias sqlplus='rlwrap sqlplus' rlwrap is a 'readline wrapper' that uses the GNU readline library alias rman='rlwrap rman'