How to solve the problem of sqlplus and flip key garbled in Linux

Source: Internet
Author: User
Tags sqlplus linux

In Linux use Sqlplus you will find: Backspace key can not be used normally (garbled), on the flip button can not normally display the historical function, very annoying!

In order to let the backspace bar and the rollover key in Sqlplus normal play its role, we must install a software-rlwrap

1. First, download the installation package from http://utopia.knoware.nl/~hlub/uck/rlwrap/and upload it to the Linux server

2. Extract the installation as root user

TAR-ZXVF rlwrap-0.37.tar.gz   
cd rlwrap-0.37  
./configure make make  
install

3. After the installation is successful, edit under Oracle user. Bash_profile

Alias sqlplus= ' Rlwrap sqlplus '  
alias rman= ' Rlwrap Rman '  
alias lsnrctl= ' Rlwrap lsnrctl '

At this time you landed Sqlplus and Rman, will be very happy to find the backspace, on the flip key can be used normally, and finally no longer be the wrong character and annoyed.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.