From 59d646b8af9fd125cf513b2a66dbb0850cd5ce51 Mon Sep 17 00:00:00 2001 From: Wesalius Date: Sun, 15 Jul 2018 10:55:40 +0200 Subject: [PATCH] ncdu: add page (#2192) --- pages/linux/ncdu.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/ncdu.md 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}}'`