Bird
0
0

You ran sleep 300 & and then jobs shows the job as stopped. Which command will resume the job in the background?

medium📝 Debug Q14 of 15
Linux CLI - Process Management
You ran sleep 300 & and then jobs shows the job as stopped. Which command will resume the job in the background?
Akill %1
Bbg %1
Cfg %1
Dstop %1
Step-by-Step Solution
Solution:
  1. Step 1: Understand job states and commands

    A stopped job is paused. The bg command resumes it in the background, while fg resumes it in the foreground.
  2. Step 2: Choose correct command for background resume

    Since the question asks to resume in background, bg %1 is correct. kill terminates, and stop is invalid here.
  3. Final Answer:

    bg %1 -> Option B
  4. Quick Check:

    Resume stopped job in background = bg %job_number [OK]
Quick Trick: Use bg %job_number to resume stopped jobs in background [OK]
Common Mistakes:
  • Using fg instead of bg for background resume
  • Trying to kill instead of resume
  • Using invalid stop command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes