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

前端 未结 8 2203
情书的邮戳
情书的邮戳 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:27

    You can run the below command.

    nohup  & >   2>&1 &
    

    e.g. I have a nohup command inside script

    ./Runjob.sh > sparkConcuurent.out 2>&1
    

提交回复
热议问题