snippetbashTip
ncdu — Disk usage analyzer with an ncurses interface. More information: <https://dev.yorhel.nl/ncdu/man>.
Viewed 0 times
usagecommanddiskncducliwithncursesanalyzer
Problem
How to use the
ncdu command: Disk usage analyzer with an ncurses interface. More information: <https://dev.yorhel.nl/ncdu/man>.Solution
ncdu — Disk usage analyzer with an ncurses interface. More information: <https://dev.yorhel.nl/ncdu/man>.Analyze the current working directory:
ncduColorize 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}}'Code Snippets
Analyze the current working directory
ncduColorize 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}}'Context
tldr-pages: common/ncdu
Revisions (0)
No revisions yet.