1.

wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/matthewdva:/build:/EPEL:/el7/RHEL_7/x86_64/rlwrap-0.42-1.el7.x86_64.rpm

2.

rpm -ivh rlwrap-0.42-1.el7.x86_64.rpm 

3.

vim /home/oracle/.bash_profile

alias sqlplus='rlwrap sqlplus'

alias rman='rlwrap rman'

PATH=/usr/rlwrap/bin/:$PATH
export PATH

4.

source /home/oracle/.bash_profile

posted on 2019-05-17 13:49  garfieldtom  阅读(454)  评论(0编辑  收藏  举报