how can i change value of incorrect env variable?

Hi,

I have

ORACLE_HOME=

This is wrong, and I want to find this in the file, and replace it with

ORACLE_HOME=/home/oracle/product/10.2

can anyone please assist?

thanks

It is wrong because unset...
in ksh:

export ORACLE_HOME=/home/oracle/product/10.2
# or for sh:
ORACLE_HOME=/home/oracle/product/10.2 ; export ORACLE_HOME
#check :
echo $ORACLE_HOME

sorry, i was not clear.

i have a properties file, that has some variables, and that file is sourced into another one.

the property file has been set up incorrectly.

it contains

ORACLE_HOME=

when it should contain

ORACLE_HOME=/home/oracle/product/10.2

So I basically want to find out how in my ksh installation script I can add a line so that it changes ORACLE_HOME in the properties file to the right value.

Thanks