Processes · Question 12 of 12
A job runs in the background with & but without nohup. How do you afterwards prevent it from receiving SIGHUP when the terminal is closed?
1 answer is correct. Hard Created with AI
Show answer
Answer
- A disown %1
Explanation
disown removes the job from Bash's job table, so Bash no longer sends it SIGHUP on exit. nohup only works at start.