开发者

Start a job that does not end when my terminal session does?

How can I start a job on a *nix system that will not exit when m开发者_Go百科y session exits?


Use the command nohup, and then add an ampersand (&) at the end to put the job in the background.

$ nohup ./fetch_command > fetch_log_file &

Then you can exit the shell and the job will continue running.


nohup your_process &

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜