diff --git a/pages/linux/ncdu.md b/pages/linux/ncdu.md new file mode 100644 index 0000000000..f2c14616e1 --- /dev/null +++ b/pages/linux/ncdu.md @@ -0,0 +1,19 @@ +# ncdu + +> Disk usage analyzer with an ncurses interface. + +- Analyze the current working directory: + +`ncdu` + +- 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}}'`