1 #!/bin/sh
2 cd /home/tomcat/tomcat_8080;
3 ps -ef|grep /tomcat_8080/ |awk '{print $2}'|xargs kill -9;
4 ./bin/startup.sh;
5 tail -f ./logs/catalina.out;
转载于:https://www.cnblogs.com/shiyijun0/p/9930780.html
1 #!/bin/sh
2 cd /home/tomcat/tomcat_8080;
3 ps -ef|grep /tomcat_8080/ |awk '{print $2}'|xargs kill -9;
4 ./bin/startup.sh;
5 tail -f ./logs/catalina.out;
转载于:https://www.cnblogs.com/shiyijun0/p/9930780.html