1, Run some SOMECOMMAND
2, ctrl+z to stop (pause) the program and get back to the shell
3, bg to run it in the background
4, disown -h so that the process isn’t killed when the terminal closes
5, Type exit to get out of the shell because now your good to go as the operation will run in the background in it own process so its not tied to a shell
This process is the equivalent of running nohup SOMECOMMAND
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.youkuaiyun.com/SUMPLUSS/article/details/136685066