Bird
0
0

Which signal does nohup prevent from stopping a process?

easy📝 Conceptual Q2 of 15
Linux CLI - Process Management
Which signal does nohup prevent from stopping a process?
ASIGHUP
BSIGTERM
CSIGINT
DSIGKILL
Step-by-Step Solution
Solution:
  1. Step 1: Identify the signal related to terminal hangup

    The signal sent when a terminal closes is SIGHUP (hangup signal).

  2. Step 2: Role of nohup

    nohup makes the process ignore SIGHUP, so it keeps running after logout.

  3. Final Answer:

    SIGHUP -> Option A
  4. Quick Check:

    nohup blocks SIGHUP [OK]
Quick Trick: nohup blocks SIGHUP to keep process alive [OK]
Common Mistakes:
  • Confusing SIGHUP with SIGINT (interrupt)
  • Thinking nohup blocks SIGKILL (which cannot be blocked)
  • Assuming nohup blocks SIGTERM

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes