systemd-cat: add page (#10194)
This commit is contained in:
12
pages/linux/systemd-cat.md
Normal file
12
pages/linux/systemd-cat.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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