How can I run a Linux command that still runs after I close my PuTTY SSH session?

后端 未结 4 1669
情话喂你
情话喂你 2021-01-15 05:26

I am connecting to my NAS over putty which is running linux on it.

I wanted to move a big directory from one location to another. Is it possible to keep the process

4条回答
  •  情书的邮戳
    2021-01-15 06:16

    You can run it as a background process as follows:

    nohup mv source target &

    However, you will not be able to interact with the process.

    EDIT: nohup is also required to keep it running after the shell exits.

提交回复
热议问题