{"id":20812,"date":"2025-10-18T09:55:07","date_gmt":"2025-10-18T07:55:07","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=20812"},"modified":"2025-10-25T10:50:26","modified_gmt":"2025-10-25T08:50:26","slug":"dust-die-belegung-der-verzeichnisse-mit-rust-am-linux-terminal-anzeigen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2025\/10\/18\/dust-die-belegung-der-verzeichnisse-mit-rust-am-linux-terminal-anzeigen\/","title":{"rendered":"dust &#8211; die Belegung der Verzeichnisse mit Rust am Linux-Terminal anzeigen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><code>dust<\/code> ist eines der neuen&nbsp;<a href=\"https:\/\/linux-bibel.at\/index.php\/2025\/10\/17\/die-neuen-rust-tools-unter-linux\/\" data-type=\"post\" data-id=\"20796\">Rust-Tools<\/a>&nbsp;unter&nbsp;Linux&nbsp;und soll als Alternative zum Befehl <code>du<\/code> dienen. Grunds\u00e4tzlich sind die neuen Werkzeuge f\u00fcr mich selbst kein Ersatz zu den Coreutils, sondern mehr eine Alternative. Denn es ist gleich einmal so \u2013 die neuen Werkzeuge sind anders zu bedienen, k\u00f6nnen manchmal auch mehr.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Beitrag, sehen wir uns also den&nbsp;Befehl&nbsp;<code>dust<\/code>&nbsp;unter&nbsp;Linux&nbsp;auf dem&nbsp;Terminal&nbsp;an. Am ehesten kann man dieses Werkzeug mit der Software <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/ncdu-die-groessten-verzeichnisse-und-dateien-unter-linux-am-terminal-anzeigen\/\" data-type=\"post\" data-id=\"246\">ncdu<\/a> vergleichen, obwohl es eher <code>du<\/code> vertreten soll.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">dust installieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software wie \u00fcblich ganz einfach \u00fcber die Paket-Verwaltung durch das Paket &#8222;<strong>dust<\/strong>&#8222;, also am schnellsten als root auf dem Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt install du-dust<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">dust nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Wir kennen die Software <code>ncdu<\/code> schon aus einem Artikel der Linux Bibel &#8211; sie zeigt die Belegung des aktuellen Verzeichnisses auf dem Terminal &#8211; ganz einfach:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ncdu<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"995\" height=\"949\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust.jpg\" alt=\"\" class=\"wp-image-20813\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust.jpg 995w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-150x143.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-300x286.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-768x732.jpg 768w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Dasselbe mit <code>dust<\/code> &#8211; hier m\u00fcssen Sie allerdings das Verzeichnis mit angeben:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dust \/<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-1024x530.jpg\" alt=\"\" class=\"wp-image-20814\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-1024x530.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-1536x795.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-2048x1060.jpg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-150x78.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-300x155.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-1-768x398.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wie sich zeigt, meldet die Software jedoch selbst mit root-Rechten noch m\u00f6gliche Fehler zwecks Berechtigungen. Die Ausgabe ist nat\u00fcrlich krampfhaft un\u00fcbersichtlich &#8211; mit der Option -d X sorgen wir f\u00fcr das Gegenteil, die Option gibt die Tiefe an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dust -d 1 \/<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-1024x495.jpg\" alt=\"\" class=\"wp-image-20818\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-1024x495.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-1536x743.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-2048x991.jpg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-150x73.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-300x145.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/10\/dust-2-768x371.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr weitere Hilfen, wie \u00fcblich:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>man dust<\/code><\/pre>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"20812\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">2    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"20812\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>dust ist eines der neuen&nbsp;Rust-Tools&nbsp;unter&nbsp;Linux&nbsp;und soll als Alternative zum Befehl du dienen. Grunds\u00e4tzlich sind die neuen Werkzeuge f\u00fcr mich selbst kein Ersatz zu den Coreutils, sondern mehr eine Alternative. Denn es ist gleich einmal so \u2013 die neuen Werkzeuge sind anders zu bedienen, k\u00f6nnen manchmal auch mehr. In diesem Beitrag, sehen wir uns also den&nbsp;Befehl&nbsp;dust&nbsp;unter&nbsp;Linux&nbsp;auf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20814,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-20812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","tag-kommandozeile","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/20812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=20812"}],"version-history":[{"count":3,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/20812\/revisions"}],"predecessor-version":[{"id":20928,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/20812\/revisions\/20928"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/20814"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=20812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=20812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=20812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}