[cs615asa] [cs615 linux-lab] question

Jan Schaumann jschauma at stevens.edu
Sat Feb 9 20:42:45 EST 2013


Renjie Weng <rweng at stevens.edu> wrote:

>  I added these commands at the end of .bash_profile:
> 
> # for EC2
> EC2_HOME=~/.ec2
> PATH="${PATH}":"${EC2_HOME}"/bin
> EC2_PRIVATE_KEY=pk-GNP6YKOCNLFJAOF7HTXHX3KQL6DPWPSE.pem
> EC2_CERT=cert-GNP6YKOCNLFJAOF7HTXHX3KQL6DPWPSE.pem
> JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
> PATH="${PATH}":"${JAVA_HOME}"/bin

You need to export those variables, not just set them.  Otherwise they
are not available to any subshells created.

-Jan


More information about the cs615asa mailing list