Password 420b http://yunpan.cn/QNXXpjP9aBy6v access
If you want to use sqlplus in Unix or Linux environments, you can turn pages up and down like windows.What should we do?
First, check that the OS is installed with the readline tool. Otherwise, install the tool.[Ora @ erpt1 ~] $ Rpm-qa | grep readline *Readline-devel-5.1-3.el5Readline-devel-5.1-3.el5Readline-5.1-3.el5Readline-5.1-3.el5My system has been installed.
Download the rlwrap tool.Password 420b http://yunpan.cn/QNXXpjP9aBy6v access
[Root @ erpt1 ~] # Tar-xzvf rlwrap-0.37.tar.gz[Root @ erpt1 ~] # Cd rlwrap-0.37[Root @ erpt1 rlwrap-0.37] #./configure[Root @ erpt1 rlwrap-0.37] # make & make install
We can see that this tool has been installed and can be found in the PATH.[Root @ erpt1 rlwrap-0.37] # su-ora[Ora @ erpt1 ~] $ Which rlwrap/Usr/local/bin/rlwrap
Add to. bash_profile environment variableAlias sqlplus = 'maid sqlplus'Alias rman = 'rlwrap rman
In this case, we can go to sqlplus normally to flip the page.[Ora @ erpt1 ~] $ Sqlplus '/as sysdba'