[nmglug] editing bash

Nick Frost nickf at nickorama.com
Tue Apr 7 16:16:12 PDT 2009


BrianO'Keefe wrote:
> Thanks Brendan. I'm pasting the syntax corrections as I understand you 
> (which is a stretch given my experience with this!). Is this correct?
>
> export AEJHOME=home/ubuntu/Downloads/aej90exe
> export LD_LIBRARY_PATH=$AEJHOME/lib
> export PATH=$PATH:/usr/local/aejhome/bin
If I am not mistaken, your entry for AEJHOME appears incorrect, in that 
I believe you want to prepend a "/", e.g.

export AEJHOME=/home/ubuntu/Downloads/aej90exe

for what is called and "absolute path" instead of a relative path.

-Nick



>
>
>
>
> Brendan wrote:
>> BrianO'Keefe wrote:
>>   
>>> Thanks Nick. I added the variables from your last email as best I could:
>>>
>>> export AEJHOME home/ubuntu/Downloads/aej90exe
>>> export LD_LIBRARY_PATH $AEJHOME/lib
>>> export PATH= $PATH:/usr/local/aejhome/bin
>>>     
>>
>> The syntax is "export NAME=value".  Note there's an = between the name 
>> and the value, and there is no space at all.  Add = signs, remove your 
>> spaces and try again.
>>
>> FWIW, you could switch your shell to csh or tcsh if you have that 
>> installed.  Use the chsh command to change shells.
>>
>> -Brendan
>> _______________________________________________
>> nmglug mailing list
>> nmglug at nmglug.org
>> https://nmglug.org/mailman/listinfo/nmglug
>>
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug
>   


-- 
----------------------------------------
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM  87508
nickf at nickorama.com
----------------------------------------





More information about the nmglug mailing list