Enable sqlplus in RHEL5 to support echo

Source: Internet
Author: User
By default, oracle10g sqlplus installed on Linux does not support ECHO, which makes it inconvenient to use. To support echo function, we need rlwrap.

By default, oracle 10 Gb sqlplus installed on Linux does not support ECHO, which makes it inconvenient to use. To support echo function, we need rlwrap.

By default, Oracle 10 Gb sqlplus installed on Linux does not support ECHO, which makes some inconvenience, we need the rlwrap software to help.

First download the rpm package or source code package for the rlwrap-0.30-1.el5.i386, and then install it. You only need to add rlwrap before sqlplus, for example, rlwrap sqlplus.

For ease of use, you can set an alias for it in/home/oracle/. bashrc.

Alias sqlplus = 'maid sqlplus'

Alias rman = 'rlwrap rman'

,

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.