How do I use the nohup command without getting nohup.out?

前端 未结 8 2215
情书的邮戳
情书的邮戳 2020-11-27 08:34

I have a problem with the nohup command.

When I run my job, I have a lot of data. The output nohup.out becomes too large and my process slows down. How can I run thi

8条回答
  •  囚心锁ツ
    2020-11-27 09:22

    Following command will let you run something in the background without getting nohup.out:

    nohup command |tee &
    

    In this way, you will be able to get console output while running script on the remote server:

提交回复
热议问题