Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created October 27, 2011 03:25
Show Gist options
  • Save karthiks/1318714 to your computer and use it in GitHub Desktop.
Save karthiks/1318714 to your computer and use it in GitHub Desktop.
Bash Aliases - Tomcat
alias start_tomcat="env 'CATALINA_OPTS=-Xms1024m -Xmx1024m ${TOMCAT_OPTS}' ${TOMCAT_HOME}/bin/startup.sh"
alias stop_tomcat="${TOMCAT_HOME}/bin/shutdown.sh"
alias clean_tomcat="rm -rf ${TOMCAT_HOME}/work ${TOMCAT_HOME}/temp ${TOMCAT_HOME}/logs/*"
alias log="tail -f ${TOMCAT_HOME}/logs/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment