<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Lost in IT | Kromg</title><link>https://kromg.github.io/tags/linux/</link><description>Recent content in Linux on Lost in IT | Kromg</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 30 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://kromg.github.io/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>The Disappearing Script: Shebang Tricks and Magic Numbers</title><link>https://kromg.github.io/posts/the-disappearing-script-shebang-tricks-and-magic-numbers/</link><pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate><guid>https://kromg.github.io/posts/the-disappearing-script-shebang-tricks-and-magic-numbers/</guid><description>&lt;p&gt;Open any script and the first line is probably &lt;code&gt;#!/usr/bin/env bash&lt;/code&gt;. You&amp;rsquo;ve typed it so many times it&amp;rsquo;s muscle memory. The cursor lands, you type the shebang, and you move on.&lt;/p&gt;
&lt;p&gt;But here&amp;rsquo;s a question worth pausing on: who actually reads that line?&lt;/p&gt;
&lt;p&gt;Not the shell. Not Bash. The &lt;em&gt;kernel&lt;/em&gt;.&lt;/p&gt;
&lt;h2 id="the-magic-bytes"&gt;The Magic Bytes&lt;/h2&gt;
&lt;p&gt;Ok, ok&amp;hellip; that&amp;rsquo;s not completely true. If you run a script specifying the shell you want to use, as in:&lt;/p&gt;</description></item></channel></rss>