sudo -i 切换用户
ps -ef|grep tomcat 查看tomcat进程id
kill -9 id 根据进程id杀掉
mv jeecg-boot.war 路径 移动jeecg-boot.war
mv jeecg-boot.war jeecgboot.war 修改名字
cd tomcat/bin 进入tomcat的bin目录
ls 查看bin的内容
ll 同上
./start.sh 启动tomcat
./shutdown.sh 关闭tomcat
cd tomcat/logs 自己品
tail -f catalina.out 启动tomcat的日志
unzip dist.zip 解压缩
\cp -r dist/* /usr/local/nginx/html 把dist下面的所有东西强制弄到路径中
下面自己品
cd ..
cd /home
cd /home/tomcat
cd ../home/tomcat
vi a.text
i
esc
:wq!
rm -rf
mkdir
tar -xvzf /home