Bird
0
0

Which of the following best describes what happens when you run crontab -e in a Linux terminal?

easy📝 Conceptual Q1 of 15
Linux CLI - Cron and Scheduling
Which of the following best describes what happens when you run crontab -e in a Linux terminal?
AIt lists all scheduled cron jobs for all users on the system.
BIt opens the current user's cron table in a text editor for modification.
CIt immediately executes all cron jobs scheduled for the current time.
DIt deletes all existing cron jobs for the current user.
Step-by-Step Solution
Solution:
  1. Step 1: Understand crontab command

    The crontab command manages cron jobs for users.
  2. Step 2: What does -e do?

    The -e option opens the user's crontab file in the default text editor for editing.
  3. Final Answer:

    It opens the current user's cron table in a text editor for modification. -> Option B
  4. Quick Check:

    Running crontab -e opens an editor [OK]
Quick Trick: crontab -e edits your cron jobs in a text editor [OK]
Common Mistakes:
  • Thinking it lists all cron jobs for all users
  • Assuming it runs cron jobs immediately
  • Believing it deletes cron jobs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes