{"id":15378,"date":"2026-04-06T11:02:48","date_gmt":"2026-04-06T08:02:48","guid":{"rendered":"https:\/\/www.inetmar.com\/blog\/?p=15378"},"modified":"2026-04-06T11:05:01","modified_gmt":"2026-04-06T08:05:01","slug":"linux-ncdu-kurulumu","status":"publish","type":"post","link":"https:\/\/www.inetmar.com\/blog\/linux-ncdu-kurulumu\/","title":{"rendered":"Linux ncdu Kurulumu"},"content":{"rendered":"<p>Linux sunucular\u0131nda \u00e7al\u0131\u015f\u0131rken bir sabah aniden o korkun\u00e7 hata mesaj\u0131yla kar\u015f\u0131la\u015fabilirsiniz: <strong>&#8220;No space left on device.&#8221;<\/strong> Diskiniz dolmu\u015f, servisler durma noktas\u0131na gelmi\u015f ve su\u00e7luyu bulman\u0131z gerekiyor. Standart <code>du -sh<\/code> komutlar\u0131yla vakit kaybetmek yerine, terminalin g\u00f6rsel g\u00fcc\u00fc <strong>ncdu<\/strong> (NCurses Disk Usage) ile tan\u0131\u015fman\u0131n tam zaman\u0131.<\/p>\n<h2>Neden ncdu Kullanmal\u0131s\u0131n\u0131z?<\/h2>\n<p>Standart disk sorgulama komutlar\u0131 size uzun listeler verirken, <code>ncdu<\/code> size interaktif bir aray\u00fcz sunar. Hangi klas\u00f6r\u00fcn ne kadar yer kaplad\u0131\u011f\u0131n\u0131 g\u00f6rselle\u015ftirir, klas\u00f6rler aras\u0131nda ok tu\u015flar\u0131yla gezmenize ve hatta gereksiz dosyalar\u0131 tek tu\u015fla silmenize olanak tan\u0131r. K\u0131sacas\u0131 h\u0131zl\u0131d\u0131r, hafiftir ve hayat kurtar\u0131r.<\/p>\n<h2>Linux Da\u011f\u0131t\u0131mlar\u0131na G\u00f6re ncdu Kurulumu<\/h2>\n<p>ncdu neredeyse t\u00fcm pop\u00fcler Linux depolar\u0131nda yer al\u0131r. Sunucunuzun i\u015fletim sistemine g\u00f6re a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 izleyerek saniyeler i\u00e7inde kurulumu tamamlayabilirsiniz.<\/p>\n<h3>Ubuntu ve Debian T\u00fcrevleri<\/h3>\n<p>APT paket y\u00f6neticisini kullanarak en g\u00fcncel s\u00fcr\u00fcm\u00fc h\u0131zl\u0131ca \u00e7ekebilirsiniz:<\/p>\n<pre><code>apt update\r\napt install ncdu -y<\/code><\/pre>\n<h3>CentOS, RHEL, AlmaLinux ve Rocky Linux<\/h3>\n<p>Bu sistemlerde \u00f6ncelikle EPEL deposunun aktif oldu\u011fundan emin olmal\u0131s\u0131n\u0131z:<\/p>\n<pre><code>yum install epel-release -y\r\nyum install ncdu -y<\/code><\/pre>\n<p><em>(Not: Yeni nesil sistemlerde <code>yum<\/code> yerine <code>dnf<\/code> komutunu da kullanabilirsiniz.)<\/em><\/p>\n<h3>Arch Linux<\/h3>\n<p>Arch kullan\u0131c\u0131lar\u0131 i\u00e7in s\u00fcre\u00e7 her zamanki gibi \u00e7ok sade:<\/p>\n<pre><code>pacman -S ncdu<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15393 aligncenter\" src=\"https:\/\/www.inetmar.com\/blog\/wp-content\/uploads\/2026\/04\/linuxncdu.png\" alt=\"\" width=\"764\" height=\"535\" srcset=\"https:\/\/www.inetmar.com\/blog\/wp-content\/uploads\/2026\/04\/linuxncdu.png 764w, https:\/\/www.inetmar.com\/blog\/wp-content\/uploads\/2026\/04\/linuxncdu-300x210.png 300w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/p>\n<h2>ncdu Nas\u0131l Kullan\u0131l\u0131r? Temel Komutlar<\/h2>\n<p>Kurulum bittikten sonra &#8220;Diskimi kim bitirmi\u015f?&#8221; sorusuna yan\u0131t bulmak sadece bir komut uza\u011f\u0131n\u0131zda.<\/p>\n<p><strong>T\u00fcm sistemi taramak i\u00e7in:<\/strong><\/p>\n<pre><code>ncdu \/<\/code><\/pre>\n<p><strong>Sadece bulundu\u011funuz dizini analiz etmek i\u00e7in:<\/strong><\/p>\n<pre><code>ncdu<\/code><\/pre>\n<h3>Aray\u00fcz \u0130\u00e7inde Gezinme \u0130pu\u00e7lar\u0131<\/h3>\n<p>Tarama tamamland\u0131\u011f\u0131nda kar\u015f\u0131n\u0131za boyutlar\u0131na g\u00f6re s\u0131ralanm\u0131\u015f bir liste gelecek. \u0130\u015fte aray\u00fcz\u00fc bir profesyonel gibi kullanman\u0131z\u0131 sa\u011flayacak k\u0131sayollar:<\/p>\n<ul>\n<li><strong>Ok Tu\u015flar\u0131:<\/strong> Klas\u00f6rler aras\u0131nda yukar\u0131-a\u015fa\u011f\u0131 gezinebilir, sa\u011f ok ile klas\u00f6r i\u00e7ine girebilirsiniz.<\/li>\n<li><strong>n Tu\u015fu:<\/strong> \u0130simlere g\u00f6re s\u0131ralama yapar.<\/li>\n<li><strong>s Tu\u015fu:<\/strong> Dosya boyutuna g\u00f6re s\u0131ralama yapar (varsay\u0131lan).<\/li>\n<li><strong>d Tu\u015fu:<\/strong> Se\u00e7ili dosya veya klas\u00f6r\u00fc <strong>siler.<\/strong> (Dikkatli olun!)<\/li>\n<li><strong>g Tu\u015fu:<\/strong> Grafik g\u00f6r\u00fcn\u00fcm\u00fcn\u00fc (y\u00fczde bar\u0131) de\u011fi\u015ftirir.<\/li>\n<li><strong>q Tu\u015fu:<\/strong> Programdan \u00e7\u0131k\u0131\u015f yapar.<\/li>\n<\/ul>\n<p>Disk y\u00f6netimi, bir sistem y\u00f6neticisinin en s\u0131k kar\u015f\u0131la\u015ft\u0131\u011f\u0131 g\u00f6revlerden biridir. <strong>ncdu<\/strong>, sizi karma\u015f\u0131k komut dizilerinden kurtar\u0131p do\u011frudan sonuca odaklanman\u0131z\u0131 sa\u011flayan her sistem y\u00f6neticisinin <strong>alet \u00e7antas\u0131nda<\/strong> bulunmas\u0131 gereken bir ara\u00e7t\u0131r.<\/p>\n<p style=\"text-align: center;\">Hemen en uygun fiyata <a href=\"https:\/\/www.inetmar.com\/sunucu\/vds-sunucu\/\" target=\"_blank\" rel=\"noopener\">vds sat\u0131n al<\/a> ve projeni hayata ge\u00e7ir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux sunucular\u0131nda \u00e7al\u0131\u015f\u0131rken bir sabah aniden o korkun\u00e7 hata mesaj\u0131yla kar\u015f\u0131la\u015fabilirsiniz: &#8220;No space left on device.&#8221; Diskiniz dolmu\u015f, servisler durma noktas\u0131na gelmi\u015f ve su\u00e7luyu bulman\u0131z gerekiyor. Standart du -sh komutlar\u0131yla vakit kaybetmek yerine, terminalin g\u00f6rsel&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":15390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-15378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/15378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/comments?post=15378"}],"version-history":[{"count":5,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/15378\/revisions"}],"predecessor-version":[{"id":15394,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/15378\/revisions\/15394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media\/15390"}],"wp:attachment":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media?parent=15378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/categories?post=15378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/tags?post=15378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}