Rlwrap (use the up and down keys under Sqlplus)

Source: Internet
Author: User
Tags sqlplus

One: Installation ReadLine

The ReadLine package is available in the OS installation CD.

# RHEL 4 [[email protected] ~]# RPM-UVH readline*error:failed dependencies:libtermcap-devel are needed by readline-devel -5.1-1.1.i386.rpm[[email protected] ~]# RPM-UVH libtermcap-devel-2.0.8-46.1.i386.rpm[[email protected] ~]# RPM-UVH Readline*package readline-5.1-1.1 is already installed[[email protected] ~]# RPM-UVH readline-devel-5.1-1.1.i386.rpm# RHEL 5 [[email protected] ~]# RPM-IVH readline* libtermcap-devel*

Two: Install Rlwrap

[Email protected] ~]# TAR-ZXVF rlwrap-0.30.tar.gz[[email protected] ~]# CD Rlwrap-0.30[[email protected] rlwrap-0.30]#. /configure[[email protected] rlwrap-0.30]# Make[[email protected] rlwrap-0.30]# make install

Three: Easy to use Rlwrap

[[email protected] rlwrap-0.30]# vi/home/oracle/.bash_profile add alias sqlplus= ' Rlwrap sqlplus ' Alias rman= ' Rlwrap Rman '
SQL Plus under Linux can finally be used like Windows.

Rlwrap (use the up and down keys under Sqlplus)

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.