[root@localhost ~]# tar -zxvf rlwrap-0.30.tar.gz
[root@localhost ~]# cd rlwrap-0.30
[root@localhost ~]# ./configure
[root@localhost ~]# make
[root@localhost ~]# make install
二.配置
在oracle用户的.bash_profile里面添加以下字符
[root@localhost ~]# vi /home/oracle/.bash_profile
添加:
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
stty erase ^H