<?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>Linux on Aleem Isiaka</title>
    <link>https://limistah.dev/tags/linux/</link>
    <description>Recent content in Linux on Aleem Isiaka</description>
    <image>
      <title>Aleem Isiaka</title>
      <url>https://limistah.dev/images/papermod-cover.png</url>
      <link>https://limistah.dev/images/papermod-cover.png</link>
    </image>
    <generator>Hugo -- 0.146.0</generator>
    <language>en</language>
    <lastBuildDate>Sun, 11 Feb 2024 20:26:05 +0100</lastBuildDate>
    <atom:link href="https://limistah.dev/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>tar (child) xz Cannot exec No such file or directory</title>
      <link>https://limistah.dev/posts/tar-child-xz-cannot-exec/</link>
      <pubDate>Mon, 10 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://limistah.dev/posts/tar-child-xz-cannot-exec/</guid>
      <description>&lt;p&gt;The error:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-0-1&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-0-1&#34;&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;tar &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;child&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;: xz: Cannot exec: No such file or directory
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Is majorly an issue with the &lt;code&gt;xz&lt;/code&gt; command not found on the host machine.&lt;/p&gt;
&lt;p&gt;To verify, run:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-1-1&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-1-1&#34;&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;whereis xz
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;fix&#34;&gt;Fix&lt;/h3&gt;
&lt;p&gt;To fix, use the installation command for your Linux distribution:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-2-1&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-2-1&#34;&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-2-2&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-2-2&#34;&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-2-3&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-2-3&#34;&gt;3&lt;/a&gt;
&lt;/span&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-2-4&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-2-4&#34;&gt;4&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt-get install xz-utils          &lt;span class=&#34;c1&#34;&gt;# Debian / Ubuntu&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo yum install xz                    &lt;span class=&#34;c1&#34;&gt;# RHEL / CentOS&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo zypper in xz                      &lt;span class=&#34;c1&#34;&gt;# OpenSuSE&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo pacman -S xz                      &lt;span class=&#34;c1&#34;&gt;# Arch Linux&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then &lt;code&gt;untar&lt;/code&gt; again with:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Change files extension in a directory</title>
      <link>https://limistah.dev/posts/change-extension-of-files-in-a-directory/</link>
      <pubDate>Thu, 22 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://limistah.dev/posts/change-extension-of-files-in-a-directory/</guid>
      <description>Use Bash for loop, variable substitution, and mv to change the name of files in a directory modifying just the extension of the file</description>
    </item>
    <item>
      <title>Searching for a pattern in the man pages</title>
      <link>https://limistah.dev/posts/apropos-mandb-linux/</link>
      <pubDate>Tue, 20 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://limistah.dev/posts/apropos-mandb-linux/</guid>
      <description>&lt;p&gt;To search through the man pages for some keywords, use the -k option.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;man -k [keyword]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This shows a result of the commands, and routines that match the keyword with a one-line description of what they are about.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;man -k passwd&lt;/code&gt; shows all the possible entries for &lt;code&gt;passwd&lt;/code&gt; in the manual pages.&lt;/p&gt;
&lt;h4 id=&#34;the-apropos&#34;&gt;The apropos&lt;/h4&gt;
&lt;p&gt;The man -k [keyword] command is similar to a help utility called apropos which is available both on Unix and Linux. See it as a shortcut.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Know the man(nual) pages</title>
      <link>https://limistah.dev/posts/understanding-man-pages/</link>
      <pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://limistah.dev/posts/understanding-man-pages/</guid>
      <description>&lt;p&gt;There are many ways to get help as a Linux administrator, manual pages are one of them as they are always close - accessible via the terminal.&lt;/p&gt;
&lt;p&gt;The manual pages, called &amp;ldquo;man pages&amp;rdquo; is a local documentation and description of software packages, drivers, routines, and libraries on a Linux machine.&lt;/p&gt;
&lt;p&gt;To use it run &lt;code&gt;man [command|library|routine|driver]&lt;/code&gt; and replace the command with the name of a command to find a manual.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
