mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
751 B
Plaintext
34 lines
751 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# systemctl show
|
|
|
|
> Show properties of units or systemd itself.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#show%20PATTERN%E2%80%A6%7CJOB%E2%80%A6>.
|
|
|
|
- Show properties of the system service manager:
|
|
|
|
`systemctl show`
|
|
|
|
- Show properties of the user service manager:
|
|
|
|
`systemctl show --user`
|
|
|
|
- Show properties of a specific unit:
|
|
|
|
`systemctl show {{unit}}`
|
|
|
|
- Show properties of a specific user unit:
|
|
|
|
`systemctl show {{unit}} --user`
|
|
|
|
- Include empty properties in the list:
|
|
|
|
`systemctl show {{[-a|--all]}}`
|
|
|
|
- Only show the specified properties:
|
|
|
|
`systemctl show {{unit}} {{[-p|--property]}} {{Wants,Conflicts,...}}`
|