<?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: Ayush Kumar</title>
    <description>The latest articles on DEV Community by Ayush Kumar (@nixayush).</description>
    <link>https://dev.to/nixayush</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4137275%2Fdcf297ff-6afc-461d-b5b6-1af3e107837b.png</url>
      <title>DEV Community: Ayush Kumar</title>
      <link>https://dev.to/nixayush</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nixayush"/>
    <language>en</language>
    <item>
      <title>Why does the Linux operating system sound like a dysfunctional 1970s mafia family drama?</title>
      <dc:creator>Ayush Kumar</dc:creator>
      <pubDate>Tue, 22 Sep 2026 09:17:20 +0000</pubDate>
      <link>https://dev.to/nixayush/why-does-the-linux-operating-system-sound-like-a-dysfunctional-1970s-mafia-family-drama-4m89</link>
      <guid>https://dev.to/nixayush/why-does-the-linux-operating-system-sound-like-a-dysfunctional-1970s-mafia-family-drama-4m89</guid>
      <description>&lt;p&gt;Fell down an OS architecture rabbit hole today while exploring Linux background jobs, and I came to an unexpected conclusion:&lt;br&gt;
&lt;em&gt;Why does the Linux operating system sound like a dysfunctional 1970s mafia family drama?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here is a breakdown of what I actually learned today:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. THE PHONE HANGUP (&lt;code&gt;SIGHUP&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;You run a long script in your terminal, close the window, and it's instantly killed! Why? The shell sends &lt;code&gt;SIGHUP&lt;/code&gt; which actually means &lt;em&gt;Signal Hangup&lt;/em&gt;, referring to the act of slamming down the plastic receiver of a rotary dial-up phone in 1974. Fifty years later, your background script still gets obliterated because Linux thinks you unplugged your acoustic coupler.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. THE ABANDONED RUNAWAYS (disown &amp;amp; Orphans)
&lt;/h3&gt;

&lt;p&gt;If you run a command and type &lt;code&gt;disown&lt;/code&gt;, you essentially kick your script out of the house. You tell bash: "Forget this kid exists. Take it off the family registry." When bash dies, it doesn't kill the script because it forgot about it. But in Linux, a process isn't legally allowed to be parentless. The moment bash dies, your script becomes an official &lt;em&gt;Orphan Process&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. FOSTER PARENT OF THE YEAR: PID 1 (systemd / init)
&lt;/h3&gt;

&lt;p&gt;In walks &lt;em&gt;PID 1&lt;/em&gt;: the root ancestor. &lt;em&gt;PID 1&lt;/em&gt; sees this abandoned runaway wandering the digital streets and immediately adopts it through a kernel process literally called &lt;em&gt;re-parenting&lt;/em&gt;. Now your background download lives under its roof. Why? Because of zombies.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. COMPUTER GHOSTS (Zombies &amp;amp; Reaping)
&lt;/h3&gt;

&lt;p&gt;When a process finishes, it doesn’t just disappear; it enters a literal &lt;em&gt;Zombie&lt;/em&gt; state. It frees its RAM, but leaves a ghost record on the process table holding its exit code, waiting for its parent to call &lt;code&gt;wait()&lt;/code&gt; and acknowledge its death. That cleanup step is officially termed &lt;em&gt;reaping&lt;/em&gt;. If a deadbeat parent ignores the dying child, zombies wander the process table forever.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;PID 1&lt;/em&gt; loops forever adopting orphans just to hold their hands when they die and reap them so your OS doesn't get haunted.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. UNCLE OOM (The Hitman with Zero Chill)
&lt;/h3&gt;

&lt;p&gt;Then there’s memory. Linux has severe toxic positivity called &lt;em&gt;overcommit&lt;/em&gt;. It hands out RAM promises like bad checks, assuming programs won't actually spend what they ask for. When memory hits zero, the kernel panics and calls in Uncle &lt;em&gt;OOM Killer&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Uncle OOM doesn't send a warning text. No polite &lt;code&gt;SIGTERM&lt;/code&gt;. He calculates an actual &lt;em&gt;OOM badness&lt;/em&gt; score, kicks the door down with &lt;code&gt;SIGKILL&lt;/code&gt; (completely unblockable), snipes the fattest process mid-sentence, and leaves a cold note in the system log that literally reads: &lt;code&gt;Killed&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;No second thoughts. No regrets. Everyone else at the dinner table just quietly keeps eating like nothing happened.&lt;/p&gt;





&lt;h4&gt;
  
  
  The moral of the story?
&lt;/h4&gt;

&lt;p&gt;Quote your bash variables, use &lt;code&gt;disown&lt;/code&gt; (or &lt;code&gt;nohup&lt;/code&gt;/&lt;code&gt;tmux&lt;/code&gt;) to send your scripts to the foster home, and never look &lt;em&gt;Uncle OOM&lt;/em&gt; in the eye.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>bash</category>
      <category>beginners</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
