mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
819 B
Plaintext
34 lines
819 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# systemctl list-paths
|
|
|
|
> List path units currently in memory, ordered by path.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/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 {{[-a|--all]}}`
|
|
|
|
- Filter path units by state:
|
|
|
|
`systemctl list-paths --state {{state}}`
|
|
|
|
- Also show unit types in the output:
|
|
|
|
`systemctl list-paths --show-types`
|