2009年5月11日星期一

sqlplus下灵活使用上下键

一个小工具刚装上
http://utopia.knoware.nl/~hlub/uck/rlwrap/
rlwrap is a 'readline wrapper' that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.

root:
1 tar xvfz xxx.tar.gz
2 configure
3 make
4 make install

oracle:
vi .bash_profile add:
alias sqlplus="rlwrap sqlplus"
alias rman="rlwrap rman"


. .bash_profile


sqlplus test :)

没有评论:

发表评论