[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
shell script/export question
- From: "bruce" <bedouglas earthlink net>
- To: "'For users of Fedora Core releases'" <fedora-list redhat com>
- Subject: shell script/export question
- Date: Sat, 4 Mar 2006 12:07:07 -0800
hi..
i have the following simple script...
# .foo
# User specific environment and startup programs
JAVA_HOME=/opt/IBMJava2-141
export JAVA_HOME
-------------------
when i do a >./foo.sh, and then do a echo $JAVA_HOME, i don't see the
exported variable. foo.sh has the exe bit set (777). any idea what i'm doing
wrong. i'm using fc4. i'm basically trying to figure out how to create a env
var, and export the var.
thanks
-bruce
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]