天天看点

linux系统常用命令

tab键有一些提示功能

进入指定目录                            cd

查看当前目录                            ls

上一级目录                               cd ../

不带提示删除文件             rm -rf  文件名

查看tomcat日志                tail -f catalina.out               需要进入到tomcat下的logs目录下

杀死进程                                   kill -9   端口号

查看tomcat对否运行中              ps -ef |grep tomcat

继续阅读