Re: shell script/export question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Les Mikesell wrote:
On Sat, 2006-03-04 at 14:07, bruce wrote:
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,

That command will send your stdout to a file named foo.sh,
overwriting it's current contents.  Is that what you
intended?

I think he means he's doing a ./foo.sh when I think he wants to
do a . ./foo.sh

--
Linux Home Automation         Neil Cherry       ncherry@xxxxxxxxxxx
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
http://home.comcast.net/~ncherry/               Backup site


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux