Wipe a disk entirely (for privacy) using shred


In case you want to sell a hard-drive, or just use it in other system and don't want it to have possible recoverable sensitive data, you may execute this command:

shred -vfz /dev/sde

Source: https://www.freecodecamp.org/news/securely-erasing-a-disk-and-file-using-linux-command-shred/