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

Install

All systems
curl cmd.cat/systemd-cat.sh
Debian Debian
apt-get install systemd
Ubuntu
apt-get install systemd
Arch Arch Linux
pacman -S systemd
image/svg+xml Kali Linux
apt-get install systemd
CentOS
yum install systemd
Fedora
dnf install systemd
Windows (WSL2)
sudo apt-get update sudo apt-get install systemd
Raspbian
apt-get install systemd

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

© tl;dr; authors and contributors