xshell
服务器跳转命令:ssh linux5506
启动tomcat
1、cd/home/founder/tomcat
2、cd bin/
3、.startup.sh 可以用tab键自动补全
查看日志
1、在bin目录下,cd ../logs
2、tail -f catalina.out
杀掉tomcat
1、ps -ef|grep tomcat,找到对应的tomcat
2、kill -9 id(对应的进程号)
用xshell对文件进行修改
1、先点击键盘的“i”键,然后对文件进行编辑
2、编辑完成后先点击ESC,再shift+:,输入wq对文件进行保存。