Linux 后台运行程序

后台不挂断运行程序:

nohup your_command &

同时指定输出日志文件并将错误重定向到标准输出:

nohup your_command > your_out.file 2>&1 &

查看进程

ps -ef | grep "your_command"

杀死进程

kill -9 your_command_pid

特此记录一下

原文地址:https://www.cnblogs.com/viewts/p/13320605.html