2025-12-16 10:20:31 -07:00
|
|
|
# systemctl is-enabled
|
|
|
|
|
|
|
|
|
|
> Check whether unit files are enabled.
|
|
|
|
|
> See also: `systemctl enable`, `systemctl disable`.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6>.
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Show the enablement state:
|
|
|
|
|
|
|
|
|
|
`systemctl is-enabled {{unit1 unit2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Suppress output and return only the exit code:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`systemctl is-enabled {{unit}} {{[-q|--quiet]}}`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Show installation targets and symlink paths:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`systemctl is-enabled {{unit}} {{[-l|--full]}}`
|