Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

How can I set environmental variable so it persists?

edited Dec 21, 2012 4:09PM in Database Install/Upgrade/Opatch (MOSC) 22 commentsAnswered
I have re-installed oracle software on my test server. I also reset ORACLE_HOME but every time I login to the server and do echo $ORACLE_HOME, it shows me the old value that points to a folder that is no longer there.

For example the old $ORACLE_HOME was /u10/app/oracle/product/10.2.0.4.0

I used

export ORACLE_HOME=/u10/app/oracle/product/11.2.0.3

and it worked out fine but nect time I logged in, it showed me /u10/app/oracle/product/10.2.0.4.0 again.

How can I set environmental variable so it persists?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center