File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # systemctl list-unit-files
2
+
3
+ > List installed unit files and their enablement states.
4
+ > See also: ` systemctl list-units ` for listing units currently loaded in memory.
5
+ > More information: < https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-unit-files%20PATTERN%E2%80%A6 > .
6
+
7
+ - List installed unit files and their states:
8
+
9
+ ` systemctl list-unit-files `
10
+
11
+ - Filter by state:
12
+
13
+ ` systemctl list-unit-files --state {{enabled|disabled|static|...}} `
14
+
15
+ - Filter by unit type:
16
+
17
+ ` systemctl list-unit-files {{[-t|--type]}} {{service|socket|timer|...}} `
18
+
19
+ - Filter by a name pattern:
20
+
21
+ ` systemctl list-unit-files '{{sshd*}}' `
22
+
23
+ - Print output directly to ` stdout ` :
24
+
25
+ ` systemctl list-unit-files --no-pager `
26
+
27
+ - Print output without headers or footers:
28
+
29
+ ` systemctl list-unit-files --no-legend `
You can’t perform that action at this time.
0 commit comments