環境:centos 6.0_x64
oracle版本:11g
步驟:
wget http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-0.30.tar.gz
tar zxvf rlwrap-0.30.tar.gz
cd rlwrap-0.30
./configure
make
make install
vi /home/oracle/.bash_profile
最後執行:
# . ~oracle/.bash_profile
這樣上下鍵和回退鍵都可以使用了。