mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 09:50:35 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/systemctl-show
Normal file
33
tldr/linux/systemctl-show
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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 --user {{unit}}`
|
||||
|
||||
- Include empty properties in the list:
|
||||
|
||||
`systemctl show {{[-a|--all]}}`
|
||||
|
||||
- Only show the specified properties:
|
||||
|
||||
`systemctl show {{[-p|--property]}} {{Wants,Conflicts,...}} {{unit}}`
|
||||
Reference in New Issue
Block a user