linux上的一些基本操作

1.chmod a+x 路径              给某文件授权

2.ps -ef | grep  tomcat       查看某服务的端口使用情况

3.kill +   端口                     关闭某个端口

4.cat   +      文件名        catalina.out           查看某服务的错误日志

原文地址:https://www.cnblogs.com/xinkun/p/9958915.html