<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Unix on Firas Sadiyah</title>
    <link>https://firas.phd/tags/unix/</link>
    <description>Recent content in Unix on Firas Sadiyah</description>
    <image>
      <title>Firas Sadiyah</title>
      <url>https://firas.phd/favicon.png</url>
      <link>https://firas.phd/favicon.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 18 Feb 2024 13:00:26 +0000</lastBuildDate>
    <atom:link href="https://firas.phd/tags/unix/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Directing Python Output in Terminal</title>
      <link>https://firas.phd/posts/python-output-terminal/</link>
      <pubDate>Sun, 18 Feb 2024 12:00:00 +0000</pubDate>
      <guid>https://firas.phd/posts/python-output-terminal/</guid>
      <description>&lt;p&gt;When writing Python scripts, it&amp;rsquo;s common to want to display information messages in the user terminal and possibly save them to a file like &lt;code&gt;output.log&lt;/code&gt;. Therefore, it&amp;rsquo;s essential to understand the levels of logging in Python, the types of outputs in Unix-like systems, and how to direct the appropriate type of logging to the right output.&lt;/p&gt;
&lt;h2 id=&#34;understanding-output-streams-in-unix&#34;&gt;Understanding Output Streams in Unix&lt;/h2&gt;
&lt;p&gt;In Unix systems, there are two primary streams for output: standard output (stdout) and standard error (stderr). These streams serve different purposes:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
