Question about systemd

General support questions
Post Reply
yugher
Posts: 18
Joined: 2017/02/13 19:24:40

Question about systemd

Post by yugher » 2019/04/20 13:53:31

Hi,
what is the difference between:

# systemctl list-units --all

and

# systemctl list-unit-files

?

Thank you!

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Question about systemd

Post by aks » 2019/04/22 08:23:35

systemctl list-unit-files shows installed units (including masked/disabled ones for example), while systemctl list-units --all shows units that are "applicable" at the moment.

yugher
Posts: 18
Joined: 2017/02/13 19:24:40

Re: Question about systemd

Post by yugher » 2019/04/27 11:23:56

thank you!

Post Reply