(go) Set the BACKSPACE key in Sqlplus

Source: Internet
Author: User
Tags sqlplus

Transferred from: http://blog.itpub.net/26110315/viewspace-717249/

Sometimes when you use Sqlplus to log in to the database, when you hit the wrong command to delete the changes, you find the previously typed characterscannot be deleted, but ^h characters are more.sql> show^h^h[[email protected] ~]$ stty-a//Display all terminal settings. Which would have such a field erase = ^?; that represents the terminal.The way to clear characters is ctrl+backspace.can be modified to the BACKSPACE key we often use. [email protected] ~]$ Stty erase ^hby entering Sqlplus, you can delete the wrong characters in a way that is familiar to us. Log on to the Linux system again when you log off the Linux sessionWhen we entered the sqlplus, the problem came again.sql> show^h^hto allow this setting to take effect every time you log on to the Linux system creation session, you can write to the. bash_profile file in the executionEffect.[email protected] ~]$ VI bash_profile//join Stty erase ^h[email protected] ~]$: Bash_profile

(go) Set the BACKSPACE key in Sqlplus

Related Article

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.