How to export variables on a UNIX prompt. Please provide me syntax.
Thanks in advance.
Malay
How to export variables on a UNIX prompt. Please provide me syntax.
Thanks in advance.
Malay
If you are using /bin/sh then use this
export MYNAME=malay
echo $MYNAME will give
malay
Ya. but its giving me this error.
ksh: =/opt/oracle/product/9.2.0 is not an identifier
Malay
Looks like you are using ksh.
Anyway just for confirmation, print the output of
echo $SHELL
Try this ..
ORACLE_HOME="/opt/oracle/product/9.2.0"
export ORACLE_HOME
Thanks. It's done.
Malay