Files
cheatsheet-tldr/tldr/linux/systemd-cat

18 lines
516 B
Plaintext

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