How to wipe a hard drive clean in Linux | How To Wiki | Fandom
If you are wiping your hard drive for security, you should populate it with random data rather than zeros (This is going to take even longer than the first example.) :
dd if=/dev/urandom of=/dev/sdX bs=1M
#replace X with the target drive letter.
https://how-to.fandom.com/wiki/How_to_wipe_a_hard_drive_clean_in_Linux