From 730e1d361f70abf5ac7ebda1bec91e29243196e7 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Tue, 16 May 2023 07:13:52 +0200 Subject: [PATCH] systemd-cat: add page (#10194) --- pages/linux/systemd-cat.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/systemd-cat.md diff --git a/pages/linux/systemd-cat.md b/pages/linux/systemd-cat.md new file mode 100644 index 000000000..1da2f7114 --- /dev/null +++ b/pages/linux/systemd-cat.md @@ -0,0 +1,12 @@ +# systemd-cat + +> Connect a pipeline or program's output streams with the systemd journal. +> More information: . + +- 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`