Tomcat:startup
#Tomcat will run in background:
${CATALINA_HOME}/bin/startup.sh
#Tomcat will run in background, and use tail to view the output in foreground:
${CATALINA_HOME}/bin/startup.sh; tail -f tomcat/logs/catalina.out
#Tomcat stays in foreground this way. If you want to shut it down, Ctrl-C in your console windown will do the trick.
${CATALINA_HOME}/bin/catalina.sh run