systemctl-list-dependencies
Show a unit's dependency tree in systemd. tldr-pages
On Linux
Linux
Show the dependency tree of default.target
systemctl list-dependenciesIdentifyShow the dependency tree of a specific unit
systemctl list-dependencies unitIdentifyInclude all dependency types (not only Requires= and Wants=)
systemctl list-dependencies unit --allIdentifyLimit the tree to a specific unit type
systemctl list-dependencies unit --type serviceIdentifyReverse the direction to show units that depend on the specified unit
systemctl list-dependencies unit --reverseIdentifyPrint output without headers or footers (for scripts)
systemctl list-dependencies unit --no-legendIdentify