Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cannot be solved with backspace and flip up and down commands in oracle

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. The solution to backspace cannot be used:

Edit the .bash _ profile file under the oracle user folder

Vi / home/oracle/.bash_profile

Add the following code

Stty erase ^ h

Source / home/oracle/.bash_profile

2. The solution key cannot be used.

1. Two dependent packages, readline and libtermcap-devel, need to be installed before installing the software, so install this first

Two pieces of software, configure the local YUM. Switch to the root user and run the following command directly.

Yum install readline* libtermcap-devel*

Then we install rlwrap

Upload files

Tar xzvf rlwrap-0.37.tar.gz

Cd rlwrap-0.37

. / configure-- prefix=/usr/local/rlwrap

Make

Make install

Edit the. bash_profile under the oracle user

Vi / home/oracle/.bash_profile

Join

Alias sqlplus='/usr/local/rlwrap/bin/rlwrap sqlplus'

Source / home/oracle/.bash_profile

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 212

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report