Run a command in a shell and keep running the command when you close the session

前端 未结 9 2063
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 11:11

I am using Putty to connect to a remote server. What I want to know is if there is any way to write my commands and allow them to keep running after I close the session with

9条回答
  •  执念已碎
    2020-11-27 11:19

    nohup, disown, and screen are all good but screen is the best because unlike the other two, screen allows you to disconnect from the remote server, keep everything running, and then reconnect later to see what is happening. With nohup and disown you can't resume interacting.

提交回复
热议问题