In the last blog, we got a simple oraenv script that will work correctly on all of your Oracle servers. We will be covering using this to manage our servers, but first a word about an important package you should have in your YUM repositories:
rlwrap (“read line wrapper”)
What does it do? It extends BASH command line completion and history to SQL*Plus, rman, and other Oracle commands. The source code can be downloaded from https://github.com/hanslub42/rlwrap.
Unfortunately Oracle doesn’t have it in their official YUM repositories. But the extra packages repository for Fedora has it: https://dl.fedoraproject.org/pub/epel/6/x86_64/
There is no dependency hell with this package. You should be able to just add the RPM to your repository and install it.
- Posted in: Tales from the Scrypt