systemctl-list-unit-files
List installed unit files and their enablement states. tldr-pages
On Linux
Linux
List installed unit files and their states
systemctl list-unit-filesIdentifyFilter by state
systemctl list-unit-files --state enabledIdentifyFilter by unit type
systemctl list-unit-files --type serviceIdentifyFilter by a name pattern
systemctl list-unit-files 'sshd*'IdentifyPrint output directly to stdout
systemctl list-unit-files --no-pagerIdentifyPrint output without headers or footers
systemctl list-unit-files --no-legendIdentify