« Back to Systemd: Frequently Asked Questions

How to see the available systemd unit types

How to see the available systemd unit types?

Run systemctl with the option '--type' and provide 'help' as its value to see all unit types.

systemctl --type=help

The systemctl command can show the available systemd unit types when using the option --type=help.

Usage

# systemctl --type=help
Available unit types:
service
mount
swap
socket
target
device
automount
timer
path
slice
scope

To use a particular type, define one of the available unit types as the value, such as a service.

systemctl list-units --type=service

Learn more about systemctl

This article uses the systemctl command to achieve its tasks. For this popular tool there is a cheat sheet available!

» Mastering the tool: systemctl

systemctl cheat sheet

Other questions related to Systemd

    Related articles

    Like to learn more? Here is a list of articles within the same category or having similar tags.

    Feedback

    Small picture of Michael Boelen

    This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

    Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

    Mastodon icon