Skip to content

Instantly share code, notes, and snippets.

@rmi1974
rmi1974 / how_to_wipe_entire_disk_in_linux.md
Last active October 24, 2023 12:46
How to wipe the entire disk in Linux #diskwipe #security #commandlinefu

Wiping the entire disk in Linux

Using 'dd'

This will overwrite all partitions, master boot records, and data. Filling the disk with all zeros.

WARNING: might take a long time depending on disk size