<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Barry Levinson</title>
    <description>The latest articles on DEV Community by Barry Levinson (@barrylevinson).</description>
    <link>https://dev.to/barrylevinson</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F520005%2Fa2019992-1f7e-43fc-a34f-41d6b0aac3d2.jpeg</url>
      <title>DEV Community: Barry Levinson</title>
      <link>https://dev.to/barrylevinson</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/barrylevinson"/>
    <language>en</language>
    <item>
      <title>
Log all of a script's output to systemd with this one simple line
</title>
      <dc:creator>Barry Levinson</dc:creator>
      <pubDate>Tue, 24 Nov 2020 08:02:54 +0000</pubDate>
      <link>https://dev.to/barrylevinson/log-all-of-a-script-s-output-to-systemd-with-this-one-simple-line-5612</link>
      <guid>https://dev.to/barrylevinson/log-all-of-a-script-s-output-to-systemd-with-this-one-simple-line-5612</guid>
      <description>&lt;p&gt;Ever wish a script’s entire output was also logged to systemd’s journal?&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec &amp;amp;&amp;gt; &amp;gt;(tee &amp;gt;(systemd-cat) )&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Just put that line at the top of your script and  Bob’s your uncle!&lt;/p&gt;

</description>
      <category>bash</category>
      <category>devops</category>
      <category>linux</category>
      <category>systemd</category>
    </item>
  </channel>
</rss>
