Turn on the next turn functions to achieve command in sqlplus


In Oracle's sqlplus, use the SQL statement is not convenient, does not provide similar sqlplus command shell on the next turn turn function.

Rlwrap installation package can be resolved in turn function sqlplus command on the next turn, very easy to use.

1, the installation package rlwrap

Performed with the root user:

yum -y install rlwrap

2, the instruction set of aliases

Modify .bash_profile file, add the following:

alias sqlplus='rlwrap sqlplus'

Log out or execute source .bash_profileit.

OK, give it a try, flip functionality, great Yo.

If our article helpful to you, please comment like, so that more people see this article, we will also continue its efforts to create more of the article, thank you.

Guess you like

Origin www.cnblogs.com/wucongzhou/p/12613122.html