xshell快速命令
1.查看tomcat进程
ps -ef|grep tomcat
2.停掉8080端口的服务器
netstat -tlnp|grep 8080|awk '{print $7}'|awk -F '/' '{print $1}'| xargs kill -9
3.启动指定位置的tomcat
rm -rf /home/Application/tomcat-newhouse-8080/work/*;
rm -rf /home/Application/tomcat-newhouse-8080/temp/*;
sh /home/Application/tomcat-newhouse-8080/bin/startup.sh;
tail -f /home/Application/tomcat-newhouse-8080/logs/catalina.out;
划船不用桨、杨帆不等风、一生全靠浪