LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-list-unit-files

List installed unit files and states

TLDR

List installed unit files
$ systemctl list-unit-files
copy
Filter by state
$ systemctl list-unit-files --state [enabled|disabled|static]
copy
Filter by type
$ systemctl list-unit-files -t [service|socket|timer]
copy
Filter by name pattern
$ systemctl list-unit-files '[pattern*]'
copy
Output without pager
$ systemctl list-unit-files --no-pager
copy
Output without headers
$ systemctl list-unit-files --no-legend
copy

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 bootdisabled - Does not start at bootstatic - No install section, started as dependencymasked - Completely blockedindirect - 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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid