snippetbashTip
systemctl is-enabled — Check whether unit files are enabled. See also: `systemctl enable`, `systemctl disable`. More inform
Viewed 0 times
unitcommandwhetherfilessystemctl is-enabledareclicheck
linux
Problem
How to use the
systemctl is-enabled command: Check whether unit files are enabled. See also: systemctl enable, systemctl disable. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6>.Solution
systemctl is-enabled — Check whether unit files are enabled. See also: systemctl enable, systemctl disable. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6>.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]}}Code Snippets
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]}}Context
tldr-pages: linux/systemctl is-enabled
Revisions (0)
No revisions yet.