Section: Dependencies and Targets

Set default target

bash
bash
sudo systemctl set-default multi-user.target
Explanation

Persists the default startup target.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Dependencies and Targets
Show default target
Display the default boot target.
OpenIn sheetbashsame section
Switch to a target now
Immediately isolate a target.
OpenIn sheetbashsame section
List dependencies
Show dependency tree for a unit.
OpenIn sheetbashsame section
List reverse dependencies
Show units depending on a unit.
OpenIn sheetbashsame section
Enable on boot
Enable a unit to start automatically.
OpenIn sheetbash2 tag match
Disable on boot
Disable autostart for a service.
OpenIn sheetbash2 tag match