How to keep the task running after closing the ssh connection?

前端 未结 2 740
别跟我提以往
别跟我提以往 2021-01-28 12:07

How to keep the process running on remote server even if the ssh connection is closed?

2条回答
  •  星月不相逢
    2021-01-28 12:27

    You can run your process/command inside a screen or tmux session, Or you can do:

    yourcmd &
    disown
    

提交回复
热议问题