Bird
0
0

Which command lists all currently loaded systemd units on a Linux system?

easy📝 Conceptual Q2 of 15
Linux CLI - System Administration
Which command lists all currently loaded systemd units on a Linux system?
Asystemctl list-units
Bsystemctl status-all
Csystemctl show-units
Dsystemctl get-units
Step-by-Step Solution
Solution:
  1. Step 1: Identify the command to list units

    The command systemctl list-units shows all loaded units.
  2. Step 2: Verify other options

    Other commands like status-all, show-units, and get-units are invalid or do not exist.
  3. Final Answer:

    systemctl list-units -> Option A
  4. Quick Check:

    List units command = systemctl list-units [OK]
Quick Trick: Use 'systemctl list-units' to see active units [OK]
Common Mistakes:
  • Using non-existent commands like status-all
  • Confusing 'list-units' with 'show-units'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes