commands.sh

systemctl is-enabled

linux

Check whether unit files are enabled. See also: `systemctl enable`, `systemctl disable`.

More info →

Options (2)

-q, --quietboolean

Suppress output and return only the exit code

Example: systemctl is-enabled {{unit}} {{[-q|--quiet]}}
-l, --fullboolean

Show installation targets and symlink paths

Example: systemctl is-enabled {{unit}} {{[-l|--full]}}

Examples (3)

Show the enablement state

systemctl is-enabled unit1 unit2 ...

Suppress output and return only the exit code

systemctl is-enabled unit [-q|--quiet]

Show installation targets and symlink paths

systemctl is-enabled unit [-l|--full]
made by @shridhargupta | data from tldr-pages