Bird
0
0

You ran sleep 10 & but the job does not appear when you run jobs. What is the likely problem?

medium📝 Debug Q14 of 15
Linux CLI - Process Management
You ran sleep 10 & but the job does not appear when you run jobs. What is the likely problem?
AYou ran the command in a different shell session
BThe sleep command does not support background execution
CYou forgot to add & at the end
DThe jobs command is not installed
Step-by-Step Solution
Solution:
  1. Step 1: Understand job control scope

    Background jobs are tracked per shell session. Running jobs in a different session won't show jobs from another.
  2. Step 2: Check other options

    Sleep supports background execution, & was used, and jobs is a built-in command, so those are unlikely issues.
  3. Final Answer:

    You ran the command in a different shell session -> Option A
  4. Quick Check:

    jobs show current shell's background tasks only [OK]
Quick Trick: jobs only shows current shell's background tasks [OK]
Common Mistakes:
  • Assuming jobs shows all system background tasks
  • Thinking sleep can't run in background
  • Believing jobs is an external command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes