mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
ncdu: add page (#2192)
This commit is contained in:
parent
662283aded
commit
59d646b8af
1 changed files with 19 additions and 0 deletions
19
pages/linux/ncdu.md
Normal file
19
pages/linux/ncdu.md
Normal file
|
@ -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}}'`
|
Loading…
Add table
Reference in a new issue