<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Find Most Used Disk Space Directories and Files in Linux	</title>
	<atom:link href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 16 Feb 2026 04:36:43 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: May		</title>
		<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1956554</link>

		<dc:creator><![CDATA[May]]></dc:creator>
		<pubDate>Fri, 03 Feb 2023 11:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18279#comment-1956554</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1580004&quot;&gt;Ed&lt;/a&gt;.

We also found deleted files that were still locked by some process:
&lt;pre&gt;
$ sudo lsof &#124; grep deleted
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1580004">Ed</a>.</p>
<p>We also found deleted files that were still locked by some process:</p>
<pre>
$ sudo lsof | grep deleted
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gilles PION		</title>
		<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915274</link>

		<dc:creator><![CDATA[Gilles PION]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 10:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18279#comment-1915274</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915225&quot;&gt;Gilles PION&lt;/a&gt;.

@Ravi Sorry for replying here; the &quot;reply link&quot; is missing from your latest comment.

&#062; &quot;but the command giving an error, see below&quot;

sorry again, remove the &lt;code&gt;&quot;*&quot;&lt;/code&gt; from &lt;code&gt;&quot;xargs du -s *&quot;&lt;/code&gt;.
The fixed command is : 
&lt;code&gt;
$ find $HOME -mindepth 1 -maxdepth 1 -type d &#124; xargs du -s   &#124; sort -rn &#124; awk &#039;{system(&quot;ls -ld  &quot;  $2)  ; exit}&#039;
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915225">Gilles PION</a>.</p>
<p>@Ravi Sorry for replying here; the &#8220;reply link&#8221; is missing from your latest comment.</p>
<p>&gt; &#8220;but the command giving an error, see below&#8221;</p>
<p>sorry again, remove the <code>"*"</code> from <code>"xargs du -s *"</code>.<br />
The fixed command is :<br />
<code><br />
$ find $HOME -mindepth 1 -maxdepth 1 -type d | xargs du -s   | sort -rn | awk '{system("ls -ld  "  $2)  ; exit}'<br />
</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915254</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 09:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18279#comment-1915254</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915225&quot;&gt;Gilles PION&lt;/a&gt;.

@Gilles,

Thanks again, but the command giving an error, see below.
&lt;pre&gt;
$ find . -mindepth 1 -maxdepth 1 -type d &#124; xargs du -s * &#124; sort -rn &#124; awk &#039;{system(&quot;ls -ld  &quot;  $2)  ; exit}&#039;

du: cannot access &#039;./VirtualBox&#039;: No such file or directory
du: cannot access &#039;VMs&#039;: No such file or directory
drwxr-xr-x 17 tecmint tecmint 184320 Nov 16 14:52 Downloads
&lt;/pre&gt;
Could you run the above command in your Linux setup, and share the output?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915225">Gilles PION</a>.</p>
<p>@Gilles,</p>
<p>Thanks again, but the command giving an error, see below.</p>
<pre>
$ find . -mindepth 1 -maxdepth 1 -type d | xargs du -s * | sort -rn | awk '{system("ls -ld  "  $2)  ; exit}'

du: cannot access './VirtualBox': No such file or directory
du: cannot access 'VMs': No such file or directory
drwxr-xr-x 17 tecmint tecmint 184320 Nov 16 14:52 Downloads
</pre>
<p>Could you run the above command in your Linux setup, and share the output?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gilles PION		</title>
		<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915225</link>

		<dc:creator><![CDATA[Gilles PION]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 08:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18279#comment-1915225</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915210&quot;&gt;Ravi Saive&lt;/a&gt;.

Sorry for the two mistakes.

First, if running as root, wildcard &lt;code&gt;(&quot;*&quot;)&lt;/code&gt; expansion includes &quot;&lt;strong&gt;dot directories&lt;/strong&gt;&quot;, and current dir &lt;code&gt;(&quot;.&quot;)&lt;/code&gt; would always be the biggest one since it includes all others.

And there was also a mistake in the awk statement.

So this should do the trick: 

$ find .  -mindepth 1 -maxdepth 1 -type d &#124; xargs du -s *  &#124; sort -rn &#124; awk &#039;{system(&quot;ls -ld  &quot;  $2)  ; exit}&#039;
]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915210">Ravi Saive</a>.</p>
<p>Sorry for the two mistakes.</p>
<p>First, if running as root, wildcard <code>("*")</code> expansion includes &#8220;<strong>dot directories</strong>&#8220;, and current dir <code>(".")</code> would always be the biggest one since it includes all others.</p>
<p>And there was also a mistake in the awk statement.</p>
<p>So this should do the trick: </p>
<p>$ find .  -mindepth 1 -maxdepth 1 -type d | xargs du -s *  | sort -rn | awk &#8216;{system(&#8220;ls -ld  &#8221;  $2)  ; exit}&#8217;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915210</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 07:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18279#comment-1915210</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915191&quot;&gt;Gilles PION&lt;/a&gt;.

@Gilles,

Thanks for the tip, but it didn&#039;t work on my end. Here is the output of the command...
&lt;pre&gt;
$ du -s * &#124; sort -rn &#124; awk &#039;{system(&quot;ls  -ld $2&quot;) ; exit}&#039;

&lt;strong&gt;drwxr-xr-x 33 tecmint tecmint 4096 Nov 16 10:46 .&lt;/strong&gt;
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/comment-page-1/#comment-1915191">Gilles PION</a>.</p>
<p>@Gilles,</p>
<p>Thanks for the tip, but it didn&#8217;t work on my end. Here is the output of the command&#8230;</p>
<pre>
$ du -s * | sort -rn | awk '{system("ls  -ld $2") ; exit}'

<strong>drwxr-xr-x 33 tecmint tecmint 4096 Nov 16 10:46 .</strong>
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
