D

Dhruva Jagannath • 660 Points
Invincible

Q. Which command is used to list all running services in a systemd-based system?

  • (A) service --status-all
  • (B) sysctl list
  • (C) systemctl list-units --type=service
  • (D) service list
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Linux
  • Hashtags:

Explanation by: Dhruva Jagannath

'systemctl list-units --type=service' lists all active services managed by systemd.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.