mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 08:48:07 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/systemctl-cat
Normal file
21
tldr/linux/systemctl-cat
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl cat
|
||||
|
||||
> Show the full contents of unit files as systemd sees them.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#cat%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Show the contents and absolute path of a unit file:
|
||||
|
||||
`systemctl cat {{unit}}`
|
||||
|
||||
- Show the contents of multiple unit files:
|
||||
|
||||
`systemctl cat {{unit1 unit2 ...}}`
|
||||
|
||||
- Show the contents of a unit file for a template:
|
||||
|
||||
`systemctl cat {{template@}}`
|
||||
Reference in New Issue
Block a user