Ncdu cheatsheet

This commit is contained in:
Yuriy Budimirov 2016-05-26 13:21:20 +03:00
parent 20d985d993
commit 6a9422502a
1 changed files with 11 additions and 0 deletions

11
cheat/cheatsheets/ncdu Normal file
View File

@ -0,0 +1,11 @@
# Save results to file
ncdu -o ncdu.file
# Read from file
ncdu -f ncdu.file
# Save results to compressed file
ncdu -o-| gzip > ncdu.file.gz
# Read from compressed file
zcat ncdu.file.gz | ncdu -f-