systemctl preset-all
linux
Reset the enablement state of all installed units to the defaults specified in preset policy files. See also: `systemctl preset`, `systemctl list-unit-files`.
More info →Options (1)
-q, --quietbooleanSuppress output and return only the exit code
Example:
sudo systemctl preset-all {{[-q|--quiet]}}Examples (4)
Reset the enablement state of all installed units
Enable only if marked as enabled in the preset policy
sudo systemctl preset-all --preset-mode enable-onlyDisable only if marked as disabled in the preset policy
sudo systemctl preset-all --preset-mode disable-onlySuppress output and return only the exit code
sudo systemctl preset-all [-q|--quiet]made by @shridhargupta | data from tldr-pages