All Posts programming ncdu: disk usage analyzer with an ncurses interface

ncdu: disk usage analyzer with an ncurses interface

ยท 118 words ยท 1 minute read

What is ncdu? ๐Ÿ”—

ncdu is a disk usage analyzer with an ncurses interface.

Usage ๐Ÿ”—

Analyze the current working directory:

ncdu

Colorize output:

ncdu --color dark|off

Analyze a given directory:

ncdu path/to/directory

Save results to a file:

ncdu -o path/to/file

Exclude files that match a pattern, argument can be given multiple times to add more patterns:

ncdu --exclude '*.txt'

More information: https://manned.org/ncdu .

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .