Show reverse dependencies for a unit
Build a paste-ready command, then review its compatibility and effects before running it.
systemctl list-dependencies --reverse <unit>Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-20
Requirementssystemctlsystemctl must be installed and available on PATH.
Version supportsystemctl Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsnginx.serviceRepresentative successful output; values vary with the selected target and system state.
Known errorssystemctl: command not foundsystemctl is missing or is not available on PATH.
Verifysystemctl list-dependencies --reverse {{unit}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01systemctlCommandRuns the systemctl stage of this one-liner.
02list-dependenciesArgumentPasses list-dependencies to systemctl.
03--reverseOptionReverses the normal direction or ordering.
04<unit>ParameterA value supplied in the Fill parameters section.
Example input
systemctl list-dependencies --reverse nginx.service
Example output
nginx.service
● └─multi-user.target
● └─graphical.target
Illustrative output — exact values vary by system and data.
Official sources