Hi ,

when i specify

export ORACLE_HOME=/orahome/app/oracle/product/10g
export PATH=$ORACLE_HOME/bin

bk=`hostname`
echo $bk


it gives error hostname not found
if I comment both export line it works fine


Can anyone tell me why is it so ??????


Thanks
Vrgurav

change

export PATH=$ORACLE_HOME/bin

to

export PATH=${PATH}:${ORACLE_HOME}/bin
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.