<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Linux on Side Of Burritos</title>
  <link rel="alternate" href="https://staging.sideofburritos.com/tags/linux/" />
  <link rel="self" href="https://staging.sideofburritos.com/tags/linux/index.xml" />
  <subtitle>Recent content in Linux on Side Of Burritos</subtitle>
  <id>https://staging.sideofburritos.com/tags/linux/</id>
  <generator uri="http://gohugo.io" version="0.165.0">Hugo</generator>
  <language>en-us</language>
  <updated>2024-12-23T10:00:00Z</updated>
  <author>
    <name>Josh</name>
    
  </author>
  
      <entry>
        <title>My Top 3 Favorite Linux Commands (and How I Use Them)</title>
        <link rel="alternate" href="https://staging.sideofburritos.com/blog/my-three-favorite-linux-commands/" />
        <id>https://staging.sideofburritos.com/blog/my-three-favorite-linux-commands/</id>
        <published>2024-12-23T10:00:00Z</published>
        <updated>2024-12-23T10:00:00Z</updated>
        <summary type="html">I share my three favorite Linux commands that I use daily: dig, whois, and ping. I demonstrate how I use dig for DNS lookups and troubleshooting, including resolving hostnames, finding MX records, and using &#43;trace for in-depth DNS debugging. Then, I explore the whois command for gathering domain and IP address information, including registration details and server locations. Finally, I explain how ping helps diagnose network connectivity and DNS issues quickly and efficiently. These commands are simple yet powerful tools for any Linux user.</summary>
          <content type="html"><![CDATA[<h2 id="-hahahugoshortcode102s0hbhb">🎥 


<a href="https://youtu.be/SusygCxeF78" target="_blank" rel="noopener" class="text-break">Video Link</a></h2>
<hr>
<h2 id="links-referenced-for-video">Links referenced for video</h2>
<ul>
<li>


<a href="https://intheshellpodcast.com" target="_blank" rel="noopener" class="text-break">https://intheshellpodcast.com</a> - In the Shell Podcast</li>
<li>


<a href="https://yellowball.fm" target="_blank" rel="noopener" class="text-break">https://yellowball.fm</a> - 🟡 Yellowball, don&rsquo;t just host your podcast, own it</li>
</ul>
<hr>
<h3 id="transcript">Transcript</h3>
<p><strong>Please excuse any grammatical errors. I used a tool to generate the transcript and haven&rsquo;t had a chance to read through it yet.</strong></p>
<p>So, as I&rsquo;m recording this video, it&rsquo;s currently 5 days before Christmas. When you&rsquo;re watching this, it will be 2 days before Christmas. 5 - 2 is 3. Therefore, I want to talk about my three favorite Linux commands. These might not be my favorite Linux commands, but they are my most used ones.</p>
<p>The first one is dig, and what that&rsquo;s useful for is resolving hostnames to IP addresses or looking up specific DNS records. So, in the basic sense, we&rsquo;ll just do a dig on sideofburritos.comom.</p>
<p>We can see here in the answer section, we have the two IP addresses that correspond to the two A records I have assigned for my domain. If you want a cleaner output to only show the answer section, you can add +short on the end. Now, we only get the two IP addresses instead of everything else.</p>
<p>Another use of this, which I was reminded of yesterday when someone asked me what email provider I use for my site sideofburritos.com domain, is if we do another query and add MX on the end of it—which is short for mail exchange—it will do a query for the mail exchange records associated with my domain. So, if we run that again, here&rsquo;s the response. We can see it&rsquo;s mail.protonmail.ch and mx.secprotonmail.ch. Those are the mail servers that ProtonMail uses for custom domains.</p>
<p>Another example: if we do the same query for yellowball.fm, which is the podcast hosting platform I run (if you&rsquo;re looking for hosting), we can see here mail.tutao.de. Tutanota changed their name to &ldquo;Tuta&rdquo; so it&rsquo;s easier to say, but they haven&rsquo;t changed their records. Anyways, I use Tutanota for that. But that&rsquo;s a quick way to see what email provider someone might be using to send emails. You can use this to do some sleuthing and get other information about a domain, but those are the main two ways I use it for queries.</p>
<p>The last way that I use it commonly, and this is mostly for troubleshooting, is adding +trace. If we scroll up to see the output: fun fact—domains actually have a dot or period on the end of them. Let&rsquo;s just change that to make it a bit more clear. You don&rsquo;t need to type the dot; it&rsquo;s just assumed, but in all reality, it is there. Domain names are read from right to left, so that&rsquo;s why we can see here the first query is for . (dot), which specifies the root. That&rsquo;s why we get the root name servers back in our response.</p>
<p>Next, we have .com, which is why we see the com. nameservers. That&rsquo;s the next one that we need to query to get the response for who has cab.bos.com. So once those are queried for cab.bos.com, they reply with the authoritative nameservers for the domain, which we can see here: cab.bos.com.. We have the NS record nameservers, and we have the two authoritative nameservers that I have configured for my domain.</p>
<p>Then lastly, those are queried, and what those reply with are the associated A records for our initial query that was sent. So, before, when we were running a simple dig sideofburritos.comom, all this was happening in the background, but you weren&rsquo;t seeing it because we didn&rsquo;t include the +trace. So, you might be wondering why this is useful. Well, first off, I think it&rsquo;s just cool to see this—I like DNS a lot; I think it&rsquo;s a very cool protocol.</p>
<p>But it&rsquo;s also useful for troubleshooting. Let&rsquo;s say you&rsquo;re trying to figure out why your domain&rsquo;s not resolving. If you run +trace and you get to here but get nothing else after that, it means something&rsquo;s going on with your records that are configured there. That would indicate, &ldquo;Hey, go look at your nameservers. Do you have the A records configured correctly? Have they propagated?&rdquo; Different things like that. So, again, you might not use this often, but when you do, it&rsquo;s invaluable for troubleshooting.</p>
]]></content>
      </entry>
      <entry>
        <title>How to install CalyxOS on Android using Linux Ubuntu (Google Pixel) </title>
        <link rel="alternate" href="https://staging.sideofburritos.com/blog/how-to-install-calyxos-on-android-linux/" />
        <id>https://staging.sideofburritos.com/blog/how-to-install-calyxos-on-android-linux/</id>
        <published>2021-11-22T12:57:39Z</published>
        <updated>2022-08-22T12:57:39Z</updated>
        <summary type="html">It&amp;#39;s time to DeGoogle your phone and take back some of your privacy. This guide will show you how to install CalyxOS using Linux (Ubuntu).</summary>
          <content type="html"><![CDATA[<h2 id="-hahahugoshortcode77s0hbhb">🎥 


<a href="https://youtu.be/wSv_KH6pfts" target="_blank" rel="noopener" class="text-break">Video Link</a></h2>
<hr>
<h2 id="commands-referenced-for-video">Commands referenced for video</h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt update
</span></span></code></pre></div><p>Update local repositories – 


<a href="https://youtu.be/wSv_KH6pfts?t=184" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt install android-sdk-platform-tools-common
</span></span></code></pre></div><p>Install required packages – 


<a href="https://youtu.be/wSv_KH6pfts?t=200" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt install adb
</span></span></code></pre></div><p>Install Android Debug Bridge – 


<a href="https://youtu.be/wSv_KH6pfts?t=206" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">cd</span> ~/Downloads
</span></span></code></pre></div><p>Change directory to where files were downloaded – 


<a href="https://youtu.be/wSv_KH6pfts?t=264" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sha256sum device-flasher.linux
</span></span></code></pre></div><p>OPTIONAL – Verify device-flasher – 


<a href="https://youtu.be/wSv_KH6pfts?t=254" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sha256sum redfin-factory-202112110.zip
</span></span></code></pre></div><p>OPTIONAL – Verify CalyxOS image – 


<a href="https://youtu.be/wSv_KH6pfts?t=327" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">chmod +x device-flasher.linux
</span></span></code></pre></div><p>Make device-flash executable – 


<a href="https://youtu.be/wSv_KH6pfts?t=388" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">./device-flasher.linux
</span></span></code></pre></div><p>Execute device-flasher.linux – 


<a href="https://youtu.be/wSv_KH6pfts?t=400" target="_blank" rel="noopener" class="text-break">Link to section in video</a></p>
<hr>
<h2 id="links-referenced-for-video">Links referenced for video</h2>
<ul>
<li>


<a href="https://calyxos.org" target="_blank" rel="noopener" class="text-break">https://calyxos.org</a></li>
</ul>
]]></content>
      </entry>

</feed>
