Wednesday 9 January 2019

Securely erasing a storage device

Shred command-line utility overwrites data in a file and in a whole device

Set all bits to zero after the last iteration by adding the option -z

  •  sudo shred -v -n1 -z /dev/sdX

  • After this is necessary to create partition 
                     sudo apt-get install gparted
                     sudo gparted

How to update snap-store