systemctl list-dependencies
Show a unit's dependency tree in systemd. See also:
systemctl list-units. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-dependencies UNIT….
- Show the dependency tree of
default.target:
systemctl list-dependencies
- Show the dependency tree of a specific unit:
systemctl list-dependencies
- Include all dependency types (not only
Requires=andWants=):
systemctl list-dependencies
- Limit the tree to a specific unit type:
systemctl list-dependencies
- Reverse the direction to show units that depend on the specified unit:
systemctl list-dependencies --reverse
- Print output without headers or footers (for scripts):
systemctl list-dependencies --no-legend
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
