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

The nohup command only writes to nohup.out if the output would otherwise go to the terminal. If you have redirected the output of the command somewhere else – including /dev/null – that’s where it goes instead. nohup command >/dev/null 2>&1 # doesn’t create nohup.out Note that the >/dev/null 2>&1 sequence can be abbreviated to just … Read more

tech