mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 16:48:53 +00:00
Update cheatsheets
This commit is contained in:
17
linux/systemd-cat
Normal file
17
linux/systemd-cat
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemd-cat
|
||||
|
||||
> Connect a pipeline or program's output streams with the systemd journal.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-cat.html>.
|
||||
|
||||
- Write the output of the specified command to the journal (both output streams are captured):
|
||||
|
||||
`systemd-cat {{command}}`
|
||||
|
||||
- Write the output of a pipeline to the journal (`stderr` stays connected to the terminal):
|
||||
|
||||
`{{command}} | systemd-cat`
|
||||
Reference in New Issue
Block a user