How to list all auto-start services in archlinux?
Asked Answered
S

2

5

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?

Seawards answered 1/6, 2017 at 7:2 Comment(0)
H
8

For both system and user unit files :

systemctl list-unit-files | grep enabled && systemctl --user list-unit-files | grep enabled
Hiltan answered 1/6, 2017 at 7:7 Comment(0)
R
0

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
Ravine answered 12/1, 2024 at 10:46 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.