http://yunpan.cn/QNXXpjP9aBy6v interview Password 420b
want to use Sqlplus in Unix, Linux environment, like in win below, realize up and down page.
What do we do?
first make sure the OS is loaded with the ReadLine tool. Otherwise, it must be installed.
[email protected] ~]$ Rpm-qa | grep readline*
Readline-devel-5.1-3.el5
Readline-devel-5.1-3.el5
Readline-5.1-3.el5
Readline-5.1-3.el5
my system is already installed.
Download the Rlwrap tool.
http://yunpan.cn/QNXXpjP9aBy6v interview Password 420b
[email protected] ~]# TAR-XZVF rlwrap-0.37.tar.gz
[email protected] ~]# CD rlwrap-0.37
[email protected] rlwrap-0.37]#./configure
[[email protected] rlwrap-0.37]# make && make install
we see that the tool is already installed and can be searched under path.
[email protected] rlwrap-0.37]# Su-ora
[email protected] ~]$ which rlwrap
/usr/local/bin/rlwrap
added to the. Bash_profile environment variable
alias sqlplus= ' Rlwrap sqlplus '
alias rman= ' Rlwrap Rman
at this time we press normal into the sqlplus way, we can achieve the page.
[email protected] ~]$ sqlplus '/as sysdba '
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Sqlplus up and down tools