mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
commit
905006f09c
1 changed files with 11 additions and 0 deletions
11
cheat/cheatsheets/ncdu
Normal file
11
cheat/cheatsheets/ncdu
Normal 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-
|
Loading…
Reference in a new issue