后台运行程序,并将日志输出到日志文件:nohup java -jar boot工程.jar &>hello.log & 查进程:ps -ef | grep 管道符:| 强制结束进程:kill -9 进程号