wget https://fossies.org/linux/privat/rlwrap-0.43.tar.gz
yum -y install readline*
https://fossies.org/linux/privat/rlwrap-0.43.tar.gz
tar zxvf rlwrap-0.43.tar.gz
cd rlwrap-0.43
./configure
make && make install
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
来源:oschina
链接:https://my.oschina.net/u/4339481/blog/4899828