您也可以使用:
systemctl list-units --type=service
Run Code Online (Sandbox Code Playgroud)
或者
systemctl list-unit-files --type=service
Run Code Online (Sandbox Code Playgroud)
或者
service --status-all
Run Code Online (Sandbox Code Playgroud)
也许这个链接可以帮助你:service vs. initctl