: http://down.51cto.com/data/2277765
When Oracle database is used, it is very inconvenient because the previous command cannot be paged up or down. So install "rlwrap" to solve.
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8C/72/wKiom1hsq5-B4X-RAAAZjtGDNlY159.png-wh_500x0-wm_3 -wmp_4-s_3912229572.png "title=" Oracle_28.png "alt=" Wkiom1hsq5-b4x-raaazjtgdnly159.png-wh_50 "/>
Install the command, note that the installation is to be under the root user.
# TAR-XF rlwrap-0.42.tar.gz # cd rlwrap-0.42#./configure # make && make install
Compile and install complete
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8C/6E/wKioL1hsrcfB5tOcAAAebhyIXR0497.png-wh_500x0-wm_3 -wmp_4-s_4094503801.png "title=" Oracle_29.png "alt=" Wkiol1hsrcfb5tocaaaebhyixr0497.png-wh_50 "/>
Append the following two lines to the Oracle user's variable file. bash_profile file.
# Vi/home/oracle/.bash_profile
Alias sqlplus= ' Rlwrap sqlplus '; alias rman= ' Rlwrap Rman ';
Effect
$ . . bash_profile
Reference article:
2016/05/1521682.htm
Http://www.cnblogs.com/pengineer/p/4351370.html
This article is from the "Enlightened Grocery store" blog, please be sure to keep this source http://wutou.blog.51cto.com/615096/1888972
Linux (CentOS) installation ORACLE_11G_R2 Database (iv) Support Sqlplus PAGE Up/down