3

What's the difference between nohup foocommand and nohup foocommand &?

I understand that & marks the task/job/process as running in the background but does that make it more resilient than it would otherwise be?

What happens in both scenarios if my SSH session timeouts or if I get disconnected?

1

1 Answer 1

3

The only difference is that the second form put your task into background immediately.

In both cases the process would not terminate if your ssh session get disconnected

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.