-
-
Save lucaswerkmeister/06173ce1a44262775bea4411dc17708c to your computer and use it in GitHub Desktop.
List services generated by systemd-sysv-generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| systemctl list-unit-files --state generated --type service --no-legend | | |
| cut -d' ' -f1 | | |
| while read unit; do | |
| if [[ "$(systemctl show -p Documentation -- "$unit")" == "Documentation=man:systemd-sysv-generator(8)" ]]; then | |
| printf '%s\n' "$unit"; | |
| fi; | |
| done | | |
| wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment