Ncdu: Difference between revisions – Wikipedia

From Wikipedia, the free encyclopedia

Content deleted Content added


Tags: Mobile edit Mobile web edit

 

Line 36: Line 36:

| AsOf =

| AsOf =

}}

}}

”’ncdu”’ ([[NCurses|”’NC”’urses]] ”’D”’isk ”’U”’sage) is a [[disk utility]] for [[Unix]] systems. Its name refers to its similar purpose to the [[du (Unix)|du]] utility, but ncdu uses a [[text-based user interface]] under the [n][[curses programming library]].<ref>{{Cite web|url=http://www.heitorlessa.com/ncdu-different-way-to-obtain-disk-usage-in-linux/|archive-url=https://web.archive.org/web/20160303225842/http://www.heitorlessa.com/ncdu-different-way-to-obtain-disk-usage-in-linux/|archive-date=3 March 2016|title=Heitorlessa.com|website=www.heitorlessa.com}}</ref> Users can navigate the list using the arrow keys and delete files that are taking up too much space by pressing the ‘d’ key. Version 1.09 and later can export the file listing in [[JSON]] format.

”’ncdu”’ ([[NCurses|”’NC”’urses]] ”’D”’isk ”’U”’sage) is a [[disk utility]] for [[Unix]] systems. Its name refers to its similar purpose to the [[du (Unix)|du]] utility, but ncdu uses a [[text-based user interface]] under the [n][[curses programming library]].<ref>{{Cite web|url=http://www.heitorlessa.com/ncdu-different-way-to-obtain-disk-usage-in-linux/|archive-url=https://web.archive.org/web/20160303225842/http://www.heitorlessa.com/ncdu-different-way-to-obtain-disk-usage-in-linux/|archive-date=3 March 2016|title=Heitorlessa.com|website=www.heitorlessa.com}}</ref> Users can navigate the list using the arrow keys and delete files that are taking up too much space by pressing the ‘d’ key. Version 1.09 and later can export the file listing in [[JSON]] format.

ncdu was developed by Yoran Heling to learn [[C (programming language)|C]] and to serve as a disk usage analyzer on remote systems over [[Secure Shell|ssh]]. Version 2.0 of the program brought a full rewrite in the [[Zig (programming language)|Zig programming language]].<ref>{{Cite web|url=https://dev.yorhel.nl/doc/ncdu2|title=Ncdu 2: Less hungry and more Ziggy|website=dev.yorhel.nl|access-date=2022-10-29|archive-date=2022-10-18|archive-url=https://web.archive.org/web/20221018141449/https://dev.yorhel.nl/doc/ncdu2|url-status=live}}</ref>

ncdu was developed by Yoran Heling to learn [[C (programming language)|C]] and to serve as a disk usage analyzer on remote systems over [[Secure Shell|ssh]]. Version 2.0 of the program brought a full rewrite in the [[Zig (programming language)|Zig programming language]].<ref>{{Cite web|url=https://dev.yorhel.nl/doc/ncdu2|title=Ncdu 2: Less hungry and more Ziggy|website=dev.yorhel.nl|access-date=2022-10-29|archive-date=2022-10-18|archive-url=https://web.archive.org/web/20221018141449/https://dev.yorhel.nl/doc/ncdu2|url-status=live}}</ref>


Latest revision as of 18:38, 13 December 2025

Disk utility program

ncdu (NCurses Disk Usage) is a disk utility for Unix systems. Its name refers to its similar purpose to the du utility, but ncdu uses a text-based user interface under the [n]curses programming library.[3] Users can navigate the list using the arrow keys and delete files that are taking up too much space by pressing the ‘d’ key. It provides a swift and efficient way to view directories that are taking up disk space, and was primarily meant for remote shells. It runs on UNIX-based systems, such as Linux, BSD, and POSIX.[4] Users can install ncdu by running a package manager command in their terminal emulator (i.e. for Debian-based systems, apt install ncdu).[5] Version 1.09 and later can export the file listing in JSON format.

ncdu was developed by Yoran Heling to learn C and to serve as a disk usage analyzer on remote systems over ssh. Version 2.0 of the program brought a full rewrite in the Zig programming language.[6]

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top