Chinaunix首页 | 论坛 | 博客
  • 博客访问: 76935
  • 博文数量: 28
  • 博客积分: 647
  • 博客等级: 上士
  • 技术积分: 325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-02 17:25
文章分类

全部博文(28)

文章存档

2011年(28)

分类: Oracle

2011-02-27 12:01:58

安装rlwrap

rlwrap-0.28.tar.gz下载地址:~hlub/uck/rlwrap/

[root@asm oracle]# tar -zxvf rlwrap-0.28.tar.gz

[root@asm oracle]# cd rlwrap-0.28
[root@asm rlwrap-0.28]#

aclocal.m4  bash30-005.patch  ChangeLog    config.h.in  configure.ac  distribution  INSTALL      Makefile.in  README  test  tools
 BUGS              completions  configure    COPYING       doc           Makefile.am  NEWS         src     TODO
[root@asm rlwrap-0.28]# ./configure
[root@asm rlwrap-0.28]# make

[root@asm rlwrap-0.28]# make install

[root@asm rlwrap-0.28]# rlwrap

Usage: rlwrap [options] command ...
  -a[password:]              --always-readline[=password:]

  -b                  --break_chars=
 -c                         --complete-filenames

 --command-name=ITPUB个人空间)_(RS Orz C
  -D <0|1|2>                 --history-no-dupes=<0|1|2>ITPUB
个人空间(b1}O'f b7b$U,s
  -f        --file=
-F          --history-format=
 -h                         --help

  -H                   --history-filename=

  -i                         --case-insensitive

  -l                   --logfile=
r0  -n                         --no-warnings
-P                  --pre-given=

  -m[newline substitute]     --multi-line[=newline substitute]
-r                         --remember
  -v                         --version
-s                      --histsize=

bug reports, suggestions, updates:

[root@asm rlwrap-0.28]# vi /home/oracle/.bash_profile   加入下面两句

alias sqlplus='rlwrap sqlplus'
}[1]WY C%d*a9r0alias rman='rlwrap rman'

linux sqlplus 下就能和cmd  sqlplus 正常操作了

阅读(1346) | 评论(0) | 转发(0) |
0

上一篇:启动sqlplus出错

下一篇:said: 554 refused

给主人留下些什么吧!~~