Remember: you’re on your own, use with care!!

30 runs of pseudo random data should be safe enough for a rented server you’re going to return soon…

# replace sdX with the device you want to wipe
for n in `seq 30`; do dd if=/dev/urandom of=/dev/sdX bs=8b conv=notrunc; done& pid=$!
# get progress
while true; do kill -USR1 $pid && sleep 1 && clear; done

Benjamin Wiedmann

Benjamin Wiedmann is an IT Professional, Software Developer, Photograph and Musician. Read more...

More Posts - Website

Follow Me:
TwitterLinkedInGoogle Plus

Categories: LinuxSecurity

Benjamin Wiedmann

Benjamin Wiedmann is an IT Professional, Software Developer, Photograph and Musician. Read more...

0 Comments

Leave a Reply

Avatar placeholder

This site uses Akismet to reduce spam. Learn how your comment data is processed.