Section: Dependencies and Targets

List dependencies

bash
bash
systemctl list-dependencies nginx
Explanation

Useful to understand related services and startup order.

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
List reverse dependencies
Show units depending on a unit.
OpenIn sheetbashsame section
Show default target
Display the default boot target.
OpenIn sheetbashsame section
Set default target
Change the default boot target.
OpenIn sheetbashsame section
Switch to a target now
Immediately isolate a target.
OpenIn sheetbashsame section
Start a service
Start a unit immediately.
OpenIn sheetbash1 tag match
Enable on boot
Enable a unit to start automatically.
OpenIn sheetbash1 tag match