1.基本: ctrl +Z回导致正在运行的程序方法哦后台运行 fg可以在前台运行 bg后台 2.查看进程id: 查看当前进行id jobs -l 3.关闭: kill -9 pid hadoop@Master:~/xubo/tools/mango$ jobs [1]+ Stopped mvn clean package -DskipTests hadoop@Master:~/xubo/tools/mango$ jobs -l [1]+ 14627 Stopped mvn clean package -DskipTests hadoop@Master:~/xubo/tools/mango$ kill -9 14627 hadoop@Master:~/xubo/tools/mango$ fg -bash: fg: job has terminated [1]+ Killed mvn clean package -DskipTests (责任编辑:IT) |