<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>File Search on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/file-search/</link><description>Recent content in File Search on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 27 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/file-search/index.xml" rel="self" type="application/rss+xml"/><item><title>Find Command Mastery - Linux File Search Essentials</title><link>https://ai-blog.noorshomelab.dev/cut-the-chase/find-mastery/</link><pubDate>Sat, 27 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/cut-the-chase/find-mastery/</guid><description>&lt;h1 id="find-command-mastery---linux-file-search-essentials"&gt;Find Command Mastery - Linux File Search Essentials&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;find&lt;/code&gt; command is a powerful utility for locating files and directories in a filesystem hierarchy. (GNU findutils 4.9.0, as of late 2025)&lt;/p&gt;
&lt;h2 id="core-syntax"&gt;Core Syntax&lt;/h2&gt;
&lt;p&gt;The fundamental structure of &lt;code&gt;find&lt;/code&gt; involves a starting directory, followed by expressions that define search criteria and actions.&lt;/p&gt;
&lt;div class="highlight"&gt;
&lt;pre class="language-bash line-numbers" data-start="1" tabindex="0"&gt;&lt;code class="language-bash" data-lang="bash"&gt;find . -name &amp;#34;myfile.txt&amp;#34; # Search current directory for a file named &amp;#34;myfile.txt&amp;#34;
find /var/log -type f # Find all regular files within /var/log
find /home -type d # Find all directories within /home&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;h2 id="essential-patterns"&gt;Essential Patterns&lt;/h2&gt;
&lt;p&gt;Locating files based on common attributes like name (case-insensitive), modification time, or size are frequent operations.&lt;/p&gt;</description></item></channel></rss>