Replacement Menu Script for Oracle’s oraenv

by Seth Miller

This script is a replacement for the “oraenv” script used to set the server environment on an Oracle database server. It’s biggest advantage over oraenv is that it requires far fewer keystrokes and provides a lot more feedback.

I’ve been using various versions of this script for years but I decided to put together a version that can run on its own so it can be shared.

To use it, execute the script once in your session and type “db” (which will call the function) each time you want to change the environment.