1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:42:09 +02:00
tldr/pages/linux/systemd-cat.md
2023-05-16 07:13:52 +02:00

12 lines
424 B
Markdown

# 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`