一:安装readline
[root@prd-db1 rlwrap-0.42]# yum -y install readline*
二:安装rlwrap
[root@prd-db1 rlwrap-0.42]# tar -xvf rlwrap-0.42.tar.gz cd rlwrap-0.42 ./configure make && make install
三:方便使用rlwrap
prd-db1-> vi ~/.bash_profile
alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman'
prd-db1-> source ~/.bash_profile
转载请注明原文地址: https://ju.6miu.com/read-1296600.html