I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up.
I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my own, when the machine has started up.
These are the 2 Oracle folders I need to export:
export ORACLE_HOME=/oracle/product/11.1.0/db_1/ export ORACLE_SID=orcl
This is the other folder I need to export of my own:
It is highly irritating that I have to do it every time the machine has started up.
I have tried Googling it, but I have not seen anything yet (still searching). It is easy to make the file with the export commands, but to put it somewhere that the machine will know to use them in startup, is the issue.
Is there a way I could do it?