RHEL Linux Red Hat System Administration 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

What command would you use to list all the services currently running?

service status

systemctl status

systemctl list-units --type=service

The command that effectively lists all the currently running services is `systemctl list-units --type=service`. This command is part of systemd, which is the initialization system used by many Linux distributions, including RHEL. When executed, it retrieves the list of all service units and their current state, providing a clear view of which services are active, inactive, or failed. This command also allows you to filter the output specifically to the service type, making it very efficient for managing and monitoring services.

While other commands listed may seem related, they do not fulfill the requirement of listing all running services in the same comprehensive manner. For example, the service command typically manages services but does not provide a complete summary of their states in this context. The `systemctl status` command is used to obtain the status of a specific service rather than listing all services. However, `systemctl list-units --type=service` focuses on the overall status of all services, making it the most suitable answer for this task.

Get further explanation with Examzify DeepDiveBeta

status services

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy