免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1037 | 回复: 0
打印 上一主题 下一主题

如何安装rlwrap工具 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-19 13:56 |只看该作者 |倒序浏览

安装rlwrap

rlwrap-0.28.tar.gz下载地址:http://utopia.knoware.nl/~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 <chars>                 --break_chars=<chars>
 -c                         --complete-filenames

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

  -H <file>                  --history-filename=<file>

  -i                         --case-insensitive

  -l <file>                  --logfile=<file>
r0  -n                         --no-warnings
-P <input>                 --pre-given=<input>

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

bug reports, suggestions, updates:

http://utopia.knoware.nl/~hlub/uck/rlwrap/

[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 正常操作了

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP