为SQLPLUS加上Linux命令行的功能
2014-01-04 21:49
483 查看
Linux命令行中,上下键能调出命令执行的历史,sqlplus却不行。rlwrap就是这样一个软件,能使sqlplus拥有linux命令行的功能
http://utopia.knoware.nl/~hlub/rlwrap/
readline library to allow the editing of keyboard input for any other command. Input history is kept between invocations, separately for each command; history completion and search work as in
completion word lists can be specified on the command line.
rlwrap-0.37.tar.gz (248 k)
manpage
README
CHANGES
用root用户登录
wget http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-0.37.tar.gz
tar -zxvf rlwrap-0.37.tar.gz
cd rlwrap-0.37
yum -y install readline-devel
./configure && make && make install
cat >> ~oracle/.bash_profile << eof
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias rman='rlwrap lsnrctl'
eof
su - oracle
sqlplus / as sysdba
enjoy it!!!
http://utopia.knoware.nl/~hlub/rlwrap/
rlwrap
rlwrapis a wrapper that uses the GNU
readline library to allow the editing of keyboard input for any other command. Input history is kept between invocations, separately for each command; history completion and search work as in
bashand
completion word lists can be specified on the command line.
rlwrapcompiles and runs on most Unix(-like) systems, including cygwin.
rlwrap-0.37.tar.gz (248 k)
manpage
README
CHANGES
用root用户登录
wget http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-0.37.tar.gz
tar -zxvf rlwrap-0.37.tar.gz
cd rlwrap-0.37
yum -y install readline-devel
./configure && make && make install
cat >> ~oracle/.bash_profile << eof
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias rman='rlwrap lsnrctl'
eof
su - oracle
sqlplus / as sysdba
enjoy it!!!
相关文章推荐
- 解决Linux下Oracle SQL*Plus命令行历史回调功能
- 解决Linux下Oracle SQL*Plus命令行历史回调功能
- 使用rlwrap增强Linux中的sqlplus命令行功能
- 利用uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
- [Oracle] 利用Uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
- 安装rlwrap解决linux下sqlplus提供浏览历史命令行的功能
- 解决Linux下SQL*Plus命令行历史回调功能
- rlwrap: command not found和解决linux下sqlplus 提供浏览历史命令行的功能
- 利用uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
- 【转载】使用rlwrap增强Linux中的sqlplus命令行功能
- 利用uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
- 利用Uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
- 配置linux下oracle sqlplus/rman等历史记录回调功能
- Linux上实现Windows的SQLPlus保存SQL历史记录功能
- 配置linux下oracle sqlplus/rman等历史记录回调功能
- 解决Linux下SQL*Plus历史回调功能
- Linux上实现Windows的SQLPlus保存SQL历史记录功能
- linux sqlplus Backspace 乱码 与上下翻看功能设置
- 利用uniread解决下的SQL*Plus命令行历史回调功能
- 让Linux下的SQL*Plus具有历史回调功能