Sqlplus paging Tool

Source: Internet
Author: User

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'

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.