linux上的一些基本操作 1.chmod a+x 路径 给某文件授权 2.ps -ef | grep tomcat 查看某服务的端口使用情况 3.kill + 端口 关闭某个端口 4.cat + 文件名 catalina.out 查看某服务的错误日志