Bird
0
0

Which command correctly runs ping google.com in the background?

easy📝 Conceptual Q2 of 15
Linux CLI - Process Management
Which command correctly runs ping google.com in the background?
A& ping google.com
Bping & google.com
Cping google.com &
Dping google.com &&
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct placement of &

    The & must be at the end of the command to run it in the background. ping google.com & places it correctly.
  2. Step 2: Analyze other options

    & ping google.com places & before the command, which is invalid syntax. ping & google.com splits the command incorrectly. ping google.com && uses &&, which means run next command if previous succeeds, not background.
  3. Final Answer:

    ping google.com & -> Option C
  4. Quick Check:

    Background & at end = correct syntax [OK]
Quick Trick: Put & at command end to background it [OK]
Common Mistakes:
  • Placing & before command
  • Using && instead of &
  • Splitting command incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes