Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

setting the value for `ORACLE_SID`

Writer Matthew Martinez

I have a problem with setting the value for ORACLE_SID as the following:

export ORACLE_SID=orcl

The problem is I have to set the ORACLE_SID every time I login into ubuntu.

How can I keep this value unchanged after I logout ?

1 Answer

Edit your ~/.bashrc to include the line

export ORACLE_SID=orcl

EDIT: If you want it available for all users, add the above line to /etc/environment

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy