Bird
0
0

What is the effect of appending & to a command in a Linux shell?

easy📝 Conceptual Q1 of 15
Linux CLI - Process Management
What is the effect of appending & to a command in a Linux shell?
AIt runs the command as a background process
BIt schedules the command to run after reboot
CIt runs the command with superuser privileges
DIt pauses the command until user input
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of &

    Appending & to a command tells the shell to run the command in the background.
  2. Step 2: Effect on shell prompt

    The shell prompt returns immediately, allowing the user to continue typing other commands.
  3. Final Answer:

    It runs the command as a background process -> Option A
  4. Quick Check:

    Background execution means prompt returns immediately [OK]
Quick Trick: Ampersand runs command in background [OK]
Common Mistakes:
  • Confusing background with scheduling
  • Assuming it grants root privileges
  • Thinking it pauses the command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes