Show dependency tree for a unit.
Section: Dependencies and Targets
List dependencies
bash
bash
systemctl list-dependencies nginxExplanation
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