I do know how we set the PATH variable-
I'm trying to understand why we have written
in the end above statement. What is it's meaning?
I have recently installed Code Sourcery's ARM EABI Tool Chain. All the executable binaries were installed in a separate folder.
I thought that the bin path will be added to env variable $PATH. However, after installation I was unable to run, as the bin path was not added to the env variable.
So, I removed the directory, downloaded just the binaries (not installation package).
I'm pretty new to Apache Tomcat and somewhat new to Linux altogether. I am trying to install the JDK, which is a prereq for Apache Tomcat. I downloaded and untarred the JDK to /usr/java and now I'm trying to set the environment path.
I have a JAVA_HOME variable, doing >echo $JAVA_HOME gives "old/path/to/my/jdk.1.7". I go to terminal and do a export JAVA_HOME=new/path/to/my/jdk.1.8.0 which works fine for the duration of the terminal session, but soon as I start a new tab/terminal instance and do a >echo $JAVA_HOME it gives me: old/path/to/my/jdk.1.7. What could I be doing wrong.