Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/linux/systemctl-list-paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# systemctl list-paths

> List path units currently in memory, ordered by path.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-paths%20PATTERN%E2%80%A6>.

- Show all path units currently in memory:

`systemctl list-paths`

- List path units matching specific wildcard pattern ie, `shell-globbing`:

`systemctl list-paths {{pattern}}`

- List path units that match with multiple patterns:

`systemctl list-paths {{pattern_1 pattern_2 ...}}`

- Show all path units, including inactive ones:

`systemctl list-paths --all`

- Filter path units by state:

`systemctl list-paths --state {{state}}`

- Also show unit types in the output:

`systemctl list-paths --show-types`