<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Filesystem on Nerdsid.com</title><link>https://nerdsid.com/tags/filesystem/</link><description>Recent content in Filesystem on Nerdsid.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 03 Apr 2026 07:32:28 +0530</lastBuildDate><atom:link href="https://nerdsid.com/tags/filesystem/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux Commands Cheat Sheet (Most Used Commands)</title><link>https://nerdsid.com/posts/linux-commands-cheatsheet/</link><pubDate>Fri, 03 Apr 2026 07:32:28 +0530</pubDate><guid>https://nerdsid.com/posts/linux-commands-cheatsheet/</guid><description>&lt;h2 id="table-of-contents">Table of Contents&lt;/h2>
&lt;ul>
&lt;li>Disk Usage / File Analysis&lt;/li>
&lt;li>AWS S3 commands&lt;/li>
&lt;/ul>
&lt;h2 id="disk-usage--file-analysis">Disk Usage / File Analysis&lt;/h2>
&lt;h3 id="find-out-space-taken-by-files-older-than-5-days">Find out space taken by files older than 5 days&lt;/h3>






&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 BASH
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">find . -type f -mtime +5 -print0 &lt;span class="p">|&lt;/span> du --files0-from&lt;span class="o">=&lt;/span>- -ch &lt;span class="p">|&lt;/span> grep total&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div>&lt;h3 id="keep-last-100d-fies">Keep last 100d fies&lt;/h3>






&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 BASH
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">ls -t &lt;span class="p">|&lt;/span> sed -e &lt;span class="s1">&amp;#39;1,100d&amp;#39;&lt;/span> &lt;span class="p">|&lt;/span> xargs -d &lt;span class="s1">&amp;#39;\n&amp;#39;&lt;/span> rm -f --&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div>





&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 BASH
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">truncate -s 50M catalina.out&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div>





&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 BASH
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">ls -d */&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div>&lt;h3 id="find-out-year-month-of-files">Find out Year month of files&lt;/h3>






&lt;div class="codeblock">
 &lt;div class="codeblock__header">
 &lt;div class="codeblock__filename codeblock__filename--lang">
 
 BASH
 
 &lt;/div>
 &lt;div class="codeblock__actions">
 
 &lt;/div>
 &lt;/div>
 &lt;div class="codeblock__body">
 &lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">stat -c &lt;span class="s1">&amp;#39;%y&amp;#39;&lt;/span> * &lt;span class="p">|&lt;/span> awk &lt;span class="s1">&amp;#39;{print $1}&amp;#39;&lt;/span> &lt;span class="p">|&lt;/span> xargs -I&lt;span class="o">{}&lt;/span> date -d &lt;span class="o">{}&lt;/span> &lt;span class="s2">&amp;#34;+%b %Y&amp;#34;&lt;/span> &lt;span class="p">|&lt;/span> sort -u&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div>&lt;h3 id="list-all-files-other-than-gz">List all files other than &lt;code>.gz&lt;/code>&lt;/h3>
&lt;p>If you want this to do recursively:&lt;/p></description></item><item><title>Key Linux Terms Explained: Kernel, Bootloader, Filesystem &amp; More</title><link>https://nerdsid.com/posts/key-linux-terms-explained-kernel-bootloader-file-system-more/</link><pubDate>Tue, 14 Jan 2025 08:26:23 +0000</pubDate><guid>https://nerdsid.com/posts/key-linux-terms-explained-kernel-bootloader-file-system-more/</guid><description>&lt;p>Before you begin to use Linux, you need to be aware of certain terms like: Kernel, Bootlader, Window system, service etc.&lt;/p>
&lt;h2 id="kernel">Kernel&lt;/h2>
&lt;p>Kernel is the glue between hardware and applications. It controls hardware and allows applications to make use of the hardware.&lt;/p>
&lt;p>Examples: Linux kernel&lt;/p>
&lt;h2 id="distribution">Distribution&lt;/h2>
&lt;p>A Linux distribution (or distro) is essentially the same as an operating system (OS) in the context of Linux.&lt;/p>
&lt;p>Linux distro includes not only the Linux kernel (the core part of the OS) but also additional software, tools, libraries, and user interfaces that together form a complete, functional system.&lt;/p></description></item></channel></rss>