Linux 常用命令 查找进程 ps -ef|grep nginx 2杀死进程 killall -9 nginx 1. centos下 如果出现: -bash: killall: command not found yum install psmisc -y 1 2. debian、ubuntu系统下 apt-get install psmisc 压缩 tar -zcvf error.tar error.log