Forrest logo
back to the dd tool

dd:ai:89258

wipe root partition entirely
$ dd if=/dev/zero of=/dev/${root_partition} status=progress
try on your machine

This command uses dd utility to overwrite the root partition with zeros, effectively wiping the entire partition. Replace [root_partition] with the appropriate device identifier for the root partition (e.g., sda1, nvme0n1p3). Make sure to run this command with root privileges.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • wipe root partition entirely?
back to the dd tool