shell script/export question

Neil Cherry ncherry at comcast.net
Sat Mar 4 22:47:10 UTC 2006


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 at linuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
http://home.comcast.net/~ncherry/               Backup site




More information about the fedora-list mailing list