Delete Linux / Debian server completely

Delete Linux / Debian server completely

Deleting the complete Debian server safely is no problem under Linux. This can be done comfortably with dd and overwrites all data on the selected disk with zeros. The SSH terminal still works during the process but if the connection is lost, no new connection is possible.

dd if=/dev/zero of=/dev/sd[x]

The x must of course be replaced with the correct disk. It is recommended to start a “screen” session beforehand, so that the deletion process will continue even if the connection is lost.

Leave a Reply

Your email address will not be published. Required fields are marked *