Bird
0
0

You run sleep 100 & but jobs shows no output. What is the likely cause?

medium📝 Debug Q6 of 15
Linux CLI - Process Management
You run sleep 100 & but jobs shows no output. What is the likely cause?
AThe sleep command failed to start
BThe job was started in a different shell session
Cjobs command is broken
DThe job finished instantly
Step-by-Step Solution
Solution:
  1. Step 1: Understand jobs scope

    jobs only shows jobs started in the current shell session.
  2. Step 2: Analyze possible causes

    If job was started elsewhere, current shell's jobs list is empty; sleep usually doesn't fail silently or finish instantly.
  3. Final Answer:

    The job was started in a different shell session -> Option B
  4. Quick Check:

    jobs shows current shell jobs only [OK]
Quick Trick: jobs only lists jobs from current shell session [OK]
Common Mistakes:
  • Assuming jobs shows all system jobs
  • Thinking jobs command is broken
  • Assuming instant job completion

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes