1.安装
rpm -ivh rlwrap-0.37-1.el6.x86_64.rpm
2.修改oracle家目录下的.bash_profile,最后在.bash_profile文件加入
alias sqlplus=‘rlwrap sqlplus‘ alias rman=‘rlwrap rman‘ alias lsnrctl=‘rlwrap lsnrctl‘
3.重新读取.bash_profile
source .bash_profile
本文出自 “清淼淡写” 博客,请务必保留此出处http://qingmiao.blog.51cto.com/7286083/1911537
解决oracle中sqlplus客户端命令行中出现^H字符以及不能使用历史命令行
原文:http://qingmiao.blog.51cto.com/7286083/1911537