更新时间:2023-11-30 11:19:52
nohup
、disown
和screen
都不错,但是screen
是***的,因为与其他两个不同,screen
允许您断开与远程服务器的连接,保持一切运行,然后稍后重新连接以查看发生了什么.使用 nohup
和 disown
您无法恢复交互.
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.