cheat-fork-echo/cheat/cheatsheets/ncdu
2016-05-26 13:21:20 +03:00

11 lines
201 B
Text

# 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-