LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-is-enabled

Check unit boot enablement state

TLDR

Check enablement state
$ systemctl is-enabled [unit]
copy
Check multiple units
$ systemctl is-enabled [unit1 unit2 ...]
copy
Quiet mode (exit code only)
$ systemctl is-enabled [unit] -q
copy
Show targets and symlinks
$ systemctl is-enabled [unit] -l
copy

SYNOPSIS

systemctl is-enabled [OPTIONS] UNIT...

DESCRIPTION

systemctl is-enabled checks whether unit files are enabled to start at boot. It returns the enablement state: enabled, disabled, static, masked, generated, transient, indirect, or alias.Exit code 0 indicates the unit is enabled or will start at boot via other means.

PARAMETERS

-q, --quiet

Suppress output, return only exit code
-l, --full
Do not truncate output; also show installation targets in the output
--system
Check system units (default)
--user
Check user units

ENABLEMENT STATES

enabled - Will start at bootdisabled - Won't start at bootstatic - No install section, started as dependency onlymasked - Completely blocked from startingindirect - Enabled through another unitgenerated - Generated dynamically by a generator toolalias - Name is an alias for another unit

CAVEATS

"Enabled" means configured to start, not currently running. Use `is-active` to check runtime state. Static units have no [Install] section and can only be started as dependencies.

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