Skip to content

Instantly share code, notes, and snippets.

@stypr
Last active August 17, 2019 19:34
Show Gist options
  • Save stypr/188a1aeb23ef1b2ef3d0 to your computer and use it in GitHub Desktop.
Save stypr/188a1aeb23ef1b2ef3d0 to your computer and use it in GitHub Desktop.
Wipe the empty disk space on Linux
$ screen -X
$ cat /dev/zero > ~/zero.fill; sync; sleep 1; sync; rm -f ~/zero.fill;
(ctrl+a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment