Which command displays available systemd unit types?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command displays available systemd unit types?

Explanation:
You discover what kinds of units systemd can manage by listing unit types. Systemd organizes resources into unit types such as service, socket, timer, mount, target, path, device, slice, scope, and automount. To see which unit type names are recognized on your system, the direct command is systemctl list-unit-types. It specifically outputs the available unit type names, giving you a clear view of the categories you can work with or filter on when using other systemctl commands. This is the best choice because it is purpose-built to reveal the unit-type list. Other options either show general help or operate on actual units rather than revealing the unit-type catalog.

You discover what kinds of units systemd can manage by listing unit types. Systemd organizes resources into unit types such as service, socket, timer, mount, target, path, device, slice, scope, and automount. To see which unit type names are recognized on your system, the direct command is systemctl list-unit-types. It specifically outputs the available unit type names, giving you a clear view of the categories you can work with or filter on when using other systemctl commands. This is the best choice because it is purpose-built to reveal the unit-type list. Other options either show general help or operate on actual units rather than revealing the unit-type catalog.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy