下载 rpm包(以centos7为例)
http://rpmfind.net/linux/epel/7/x86_64/Packages/r/rlwrap-0.43-2.el7.x86_64.rpm
安装rpm包
rpm -Uvh *rpm --nodeps
配置dmdba用户的环境变量
cat >> ~/.bash_profile <<"EOF"
alias disql="rlwrap disql"
alias dmrman="rlwrap dmrman"
EOF
source ~/.bash_profile