systemctl-list-unit-files
List installed unit files and states
TLDR
List installed unit files
SYNOPSIS
systemctl list-unit-files [OPTIONS] [PATTERN...]
DESCRIPTION
systemctl list-unit-files displays all installed unit files and their enablement states. Unlike `list-units` which shows runtime state, this shows the boot configuration for all available units.
The output shows the unit file name and its state: enabled, disabled, static, masked, generated, transient, indirect, or alias.
PARAMETERS
--state= STATE
Filter by enablement state (enabled, disabled, static, masked, etc.)-t, --type= TYPE
Filter by unit type--no-pager
Disable pager output--no-legend
Suppress header and footer
ENABLEMENT STATES
enabled - Starts automatically at boot
disabled - Does not start at boot
static - No install section, started as dependency
masked - Completely blocked
indirect - Enabled via another unit
CAVEATS
Shows all installed unit files regardless of runtime state. Some unit files may be present but never used. Static units cannot be enabled directly.
HISTORY
The list-unit-files subcommand provides visibility into the full set of available units and their boot configuration, complementing `list-units` which shows only currently loaded units.
SEE ALSO
systemctl-list-units(1), systemctl-enable(1), systemctl(1)
