systemd-cat -t myapp echo hello

Category: Administration

systemd-cat -t myapp echo hello

Send command output to the journal

Runs echo hello with its output captured and written into the systemd journal tagged with the identifier myapp. The -t flag sets the tag shown in the journal. Use this to funnel scripts that normally log to stdout into journalctl, keeping all logs in one place.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.