Skip to content
/ oenv Public

Shell script to set Oracle environment variables

Notifications You must be signed in to change notification settings

iamjoos/oenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

oenv

Shell script to set Oracle environment variables.

You can also put the following to ~/.bash_profile to automatically create aliases for all your databases (change /home/oracle/oenv to actual location of the script):

for oraenv in $(grep -oP "^# ocfg \K\w+" /home/oracle/oenv |  sort | uniq | tr '[:upper:]' '[:lower:]')
do
    alias ${oraenv}=". /home/oracle/oenv ${oraenv}"
done

About

Shell script to set Oracle environment variables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages