Browse Source

ncdu: add page (#2192)

Wesalius 6 years ago
parent
commit
59d646b8af
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pages/linux/ncdu.md

+ 19 - 0
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}}'`