加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

解决oracle中sqlplus客户端命令行中出现^H字符以及不能使用历史

发布时间:2020-12-12 15:07:13 所属栏目:百科 来源:网络整理
导读:1. 安装 rpm -ivh rlwrap-0.37-1.el6.x86_64.rpm 2. 修改 oracle 家目录下的 .bash_profile, 最后在 .bash_profile 文件加入 aliassqlplus='rlwrapsqlplus'aliasrman='rlwraprman'aliaslsnrctl='rlwraplsnrctl' 3. 重新读取 .bash_profile source.bash_prof

1.安装

rpm -ivh rlwrap-0.37-1.el6.x86_64.rpm

2.修改oracle家目录下的.bash_profile,最后在.bash_profile文件加入

aliassqlplus='rlwrapsqlplus'
aliasrman='rlwraprman'
aliaslsnrctl='rlwraplsnrctl'


3.重新读取.bash_profile

source.bash_profile

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读