Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Created November 2, 2013 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvikramjhu/7281753 to your computer and use it in GitHub Desktop.
Save vvikramjhu/7281753 to your computer and use it in GitHub Desktop.
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
#The following is to export java home ie set java home path
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
# Export Tomcat home to .bashrc
export CATALINA_HOME=/media/Yojimbo/installationFiles/apache-tomcat-7.0.33/
[ varun: $~ ]$ $CATALINA_HOME/bin/startup.sh
bash: /bin/startup.sh: No such file or directory
[ varun: $~ ]$ . /$CATALINA_HOME/bin/startup.sh
bash: //bin/startup.sh: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment