<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>File-Descriptors on Lost in IT | Kromg</title><link>https://kromg.github.io/tags/file-descriptors/</link><description>Recent content in File-Descriptors on Lost in IT | Kromg</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 16 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://kromg.github.io/tags/file-descriptors/index.xml" rel="self" type="application/rss+xml"/><item><title>File Descriptor Patterns: Beyond stdout and stderr</title><link>https://kromg.github.io/posts/file-descriptor-patterns-beyond-stdout-and-stderr/</link><pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate><guid>https://kromg.github.io/posts/file-descriptor-patterns-beyond-stdout-and-stderr/</guid><description>&lt;p&gt;You&amp;rsquo;ve already used the STDIO redirection operators: &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;, &lt;code&gt;2&amp;gt;&lt;/code&gt;, &lt;code&gt;2&amp;gt;&amp;amp;1&lt;/code&gt;, and so on.
You may also have used the appending operators: &lt;code&gt;&amp;gt;&amp;gt;&lt;/code&gt; and &lt;code&gt;2&amp;gt;&amp;gt;&lt;/code&gt;, and maybe the most modern ones: &lt;code&gt;&amp;amp;&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;amp;&amp;gt;&amp;gt;&lt;/code&gt;, to redirect both STDOUT and STDERR at the same time.&lt;/p&gt;
&lt;p&gt;These operators cover most of what you need day-to-day. But have you ever wondered what they actually do — why &lt;code&gt;&amp;gt;&lt;/code&gt; affects output, &lt;code&gt;&amp;lt;&lt;/code&gt; affects input, and &lt;code&gt;2&amp;gt;&lt;/code&gt; affects errors? The answer is &lt;em&gt;file descriptors&lt;/em&gt;, and understanding them turns a collection of punctuation into a coherent system.&lt;/p&gt;</description></item></channel></rss>