Display the default boot target.

Section: Dependencies and Targets

Show default target

bash
bash
systemctl get-default
Explanation

Often graphical.target or multi-user.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
Set default target
Change 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