<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tracking down where disk space has gone on Linux?]]></title><description><![CDATA[<p dir="auto">Try <a href="https://dev.yorhel.nl/ncdu" target="_blank" rel="noopener noreferrer nofollow ugc">ncdu</a>, an excellent command-line disk usage analyser:<br />
<img src="https://pics.sumisu.xyz/i/b056cada-4679-4cc7-94e2-8134940d78f1.jpg" alt="image" class=" img-fluid img-markdown" /><br />
<code>sudo apt install ncdu</code></p>
<p dir="auto">You quite probably know which filesystem is short of space. In which case you can use <code>ncdu -x</code> to only count files and directories on the same filesystem as the directory being scanned. <code>– Luke Cousins Jul 21, 2017 at 11:51</code></p>
<p dir="auto">best answer. also: <code>sudo ncdu -rx /</code> should give a clean read on biggest dirs/files ONLY on root area drive. (<code>-r</code> = read-only, <code>-x</code> = stay on same filesystem (meaning: do not traverse other filesystem mounts) ) <code>– B. Shea Sep 21, 2017 at 15:52</code></p>
<p dir="auto">I personally would use something like this: <code>sudo ncdu --confirm-delete -rx / --exclude /mnt</code>. This allows you to push <code>d</code> on files to delete them. It also won’t scan any files that you have in <code>/mnt</code>.</p>
]]></description><link>https://forum.sumisu.xyz/topic/36/tracking-down-where-disk-space-has-gone-on-linux</link><generator>RSS for Node</generator><lastBuildDate>Sat, 30 May 2026 23:15:27 GMT</lastBuildDate><atom:link href="https://forum.sumisu.xyz/topic/36.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Nov 2024 08:58:52 GMT</pubDate><ttl>60</ttl></channel></rss>