{"id":1255,"date":"2023-02-16T06:53:52","date_gmt":"2023-02-16T06:53:52","guid":{"rendered":"https:\/\/jamj.org\/?p=1255"},"modified":"2023-02-16T06:53:52","modified_gmt":"2023-02-16T06:53:52","slug":"ncdu","status":"publish","type":"post","link":"https:\/\/jamj.org\/index.php\/2023\/02\/16\/ncdu\/","title":{"rendered":"Ncdu"},"content":{"rendered":"\n<p>Have you ever wondered what is taking so much space in your hard drives? You have thousands of files but you dont know what is what or where are the biggest files. Well, sometimes you need a way to know what is inside your hard drive. You can achieve this with a beautiful and useful utility:<strong><em> ncdu<\/em><\/strong><\/p>\n\n\n\n<p>Simply type<\/p>\n\n\n\n<p><code> ncdu \/<\/code><\/p>\n\n\n\n<p>and you will get something like this:<\/p>\n\n\n\n<p><code>88,6 MiB [##########] dockerd<br>57,8 MiB [###### ] docker<br>40,9 MiB [#### ] containerd<br>30,7 MiB [### ] x86_64-linux-gnu-lto-dump-12<br>23,7 MiB [## ] x86_64-linux-gnu-lto-dump-11<br>23,3 MiB [## ] ctr<br>19,6 MiB [## ] containerd-stress<br>15,4 MiB [# ] snap<br>15,1 MiB [# ] qemu-system-x86_64<br>15,0 MiB [# ] qemu-system-i386<br>9,8 MiB [# ] gdb<br>9,6 MiB [# ] gimp-2.10<br>8,0 MiB [ ] gtk4-encode-symbolic-svg<br>7,7 MiB [ ] rustdoc<br>7,7 MiB [ ] containerd-shim-runc-v2<br>7,7 MiB [ ] containerd-shim-runc-v1<br>7,3 MiB [ ] ctest<br>6,5 MiB [ ] qemu-system-x86_64-microvm<br>6,4 MiB [ ] cmake<\/code><\/p>\n\n\n\n<p>That way you have a good representation of every part of your file system. <strong>In some distros you need to install the utility as is not installed by default<\/strong>. As always check the man pages for more info.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered what is taking so much space in your hard drives? You have thousands of files but you dont know what is what or where are the biggest files. Well, sometimes you need a way to know what is inside your hard drive. You can achieve this with a beautiful and useful [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1255","post","type-post","status-publish","format-standard","hentry","category-gnu"],"_links":{"self":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/comments?post=1255"}],"version-history":[{"count":0,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1255\/revisions"}],"wp:attachment":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/media?parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/categories?post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/tags?post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}