954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Hostname not working in MKS tool kit

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

vrgurav
Newbie Poster
11 posts since Jun 2007
Reputation Points: 10
Solved Threads: 1
 

change

export PATH=$ORACLE_HOME/bin

to

export PATH=${PATH}:${ORACLE_HOME}/bin
masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You