Posts Tagged ‘hdd’

Quick Tip: Erase a drive (insecurely) in 1 Line

sudo dd if=/dev/zero of=/dev/sdx bs=512 count=1
where sdx is the drive you want to zero (this is an INsecure wipe)

Quick Tip: Change the size of a VirtualBox VM’s hdd in 1 Line

$ VBoxManage modifyhd <path to your vdi> –resize <new size in megabytes>