Chinaunix首页 | 论坛 | 博客
  • 博客访问: 143086
  • 博文数量: 23
  • 博客积分: 1555
  • 博客等级: 上尉
  • 技术积分: 277
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-02 12:42
个人简介

一个陶醉于在小型机与存储之中游弋的人,无烟酒之习,唯品粗茶。每每在接触掌握新设备和解决疑难故障之时,收获着自己的快乐。愿寻觅志同道合之人,同进步共成长。

文章分类

全部博文(23)

文章存档

2021年(3)

2015年(5)

2014年(8)

2013年(2)

2012年(4)

2010年(1)

我的朋友

分类: Oracle

2015-04-03 08:23:11

rlwrap download website:~hlub/uck/rlwrap/

rlwrap is 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 bash and completion word lists can be specified on the command line.
rlwrap compiles and runs on most Unix(-like) systems, including cygwin.

1. pre-install readline library for CentOS 6.5
# yum install readline readline-devel

2. install rlwrap
# tar -zxvf rlwrap-0.42.tar.gz
# cd rlwrap-0.42
# ./configure
# make
# make install

3. oracle profile
# su - oracle
$ vi .bash_profile
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'

阅读(955) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~