Reputation: 121
I am aware of using systemctl status to check a particular status of the service and using systemctl enable to put a service in auto-start when system boot. But how can I list all exisiting auto-start services?
Upvotes: 5
Views: 8432
Reputation: 3
Hi referring to @papey's answer, an option with nicer formatting might be using systemctl
's state
option:
$ systemctl list-unit-files --state=enabled
$ systemctl list-unit-files --user --state=enabled
Upvotes: 0
Reputation: 4134
For both system and user unit files :
systemctl list-unit-files | grep enabled && systemctl --user list-unit-files | grep enabled
Upvotes: 8