当前位置:网站首页>sqlplus 显示上一条命令及可用退格键
sqlplus 显示上一条命令及可用退格键
2022-08-10 05:31:00 【开发老张】
系统:CentOS7
Oracle:Oracle10g
1)检查 readline 是否安装:
# yum install readline;
如未安装,使用 yum 安装
2)安装 rlwrap:
下载:http://download.csdn.net/download/zhy0414/10153606
# unzip rlwrap-0.42-1-x64.rpm.zip
# rpm -ivh rlwrap-0.42-1.el6.x86_64.rpm
报错:
警告:rlwrap-0.42-1.el6.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 0608b895: NOKEY
错误:依赖检测失败:
perl(Data::Dumper) 被 rlwrap-0.42-1.el6.x86_64 需要
解决:
# yum install autoconf
3)设置环境变量:
$ vim ~/.bash_profile
底部添加:
stty erase ^h # 解决 shell 下sqlplus 退格问题
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias lsnrctl='rlwrap lsnrctl'
$ source ./bash_profile
边栏推荐
- Depth of carding: prevent model fitting method
- 每周推荐短视频:探索AI的应用边界
- Joomla vulnerability reproduced
- pytorch框架学习(2)使用GPU训练
- How does Jenkins play with interface automation testing?
- Transforming into a product, is it reliable to take the NPDP test?
- 使用Tenserboard可视化深度学习训练过程
- 【写下自用】每次都忘记如何train?记录如何训练自己的yolov5
- 三维点云分割
- How to get the last day of a month
猜你喜欢

虚拟土地价格暴跌85% 房地产泡沫破裂?依托炒作的暴富游戏需谨慎参与

R语言:修改chart.Correlation()函数绘制相关性图——完美出图

通过一个案例轻松入门OAuth协议

用Pytorch从0到1实现逻辑回归

训练集Loss收敛,但是测试集Loss震荡的厉害?

scikit-learn机器学习 读书笔记(一)

使用Tenserboard可视化深度学习训练过程

文章复现:超分辨率网络FSRCNN

Interface documentation evolution illustration, some ancient interface documentation tools, you may not have used it

Conda creates a virtual environment method and pqi uses a domestic mirror source to install a third-party library method tutorial
随机推荐
用Pytorch从0到1实现逻辑回归
网络安全5
Nexus_Warehouse Type
pygame学习计划(1)
如何在报表控件FastReport.NET中连接XLSX 文件作为数据源?
虚拟土地价格暴跌85% 房地产泡沫破裂?依托炒作的暴富游戏需谨慎参与
深度学习中数据到底要不要归一化?实测数据来说明!
CSDN Markdown 之我见代码块 | CSDN编辑器测评
Buu Web
AVL tree insertion--rotation notes
关于cfar检测的学习及仿真
几种绘制时间线图的方法
动手写prometheus的exporter-02-Counter(计数器)
树莓派入门(3)树莓派GPIO学习
scikit-learn机器学习 读书笔记(一)
pytest测试框架
实战小技巧19:List转Map List的几种姿势
小记录:Pytorch做深度学习必要加载的包
你不知道的常规流
MySql之json_extract函数处理json字段