rlwrap插件,实现sqlplus上下翻页
?????? oracle在Linux下,sqlplus中不能上下翻,最主要我經(jīng)常打錯(cuò)字!嘿嘿
01、下載
RPM? :http://rpmfind.net/linux/rpm2html/search.php?query=rlwrap
tar.gz:https://fossies.org/linux/privat/rlwrap-0.42.tar.gz/
百度云:http://pan.baidu.com/s/1qXOOuGO????????? ###建議使用百度云下載
02、安裝
rpm? -ivh? xxx.rpm
or
tar zxf xxx.tar.gz
./configure? -q???????????###-q靜默不打印,check ...
make && make install
###報(bào)錯(cuò)解決
yum install -y ncures-devel?? readline-devel
03、配置環(huán)境變量
vim .bash_profile????????###建議在oracle用戶下
alias sqlplus='rlwrap sqlplus'
source? .bash_profile
04、測(cè)試
su - oracle
sqlplus /? as sysdba;
show user;
轉(zhuǎn)載于:https://www.cnblogs.com/xiaochina/p/6253934.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來(lái)咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的rlwrap插件,实现sqlplus上下翻页的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 初识openstack
- 下一篇: 操作系统基础篇