Difference between revisions of "Systemd-cat"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
<code>systemd-cat</code><ref>https://www.freedesktop.org/software/systemd/man/systemd-cat.html</ref> write everything it reads from standard input (<code>[[stdin]]</code>) to [[systemd]] journal  
 
<code>systemd-cat</code><ref>https://www.freedesktop.org/software/systemd/man/systemd-cat.html</ref> write everything it reads from standard input (<code>[[stdin]]</code>) to [[systemd]] journal  
  
Line 6: Line 7:
 
** <code>echo "TEXT TO LOG" | systemd-cat -p info</code>
 
** <code>echo "TEXT TO LOG" | systemd-cat -p info</code>
 
* <code>systemd-cat -p info -t TEXT</code>
 
* <code>systemd-cat -p info -t TEXT</code>
:-p, --priority options: "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"
+
* <code>-p, --priority options: "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"</code>
 
 
  
 
== Related commands ==
 
== Related commands ==

Latest revision as of 10:38, 22 October 2021

Advertising: