LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Format the data 25 times (https://www.linuxquestions.org/questions/red-hat-31/format-the-data-25-times-394076/)

openbysource 12-18-2005 02:07 AM

Format the data 25 times
 
Hello friends,

Here is the command:

shred /dev/hda

This command is used to format the disk 25 times after that nobody can recover data from that disk.
It is used by Redhat examiners at the end of the day when they go for taking the RHCE exams.

Hope you like it.
Thanks
Any suggestions are welcomed.
Bye
Take Care

/bin/bash 12-18-2005 02:18 AM

How about this:
for i in `seq 1 25`;do echo "Pass # $i ";dd if=/dev/random of=/dev/hda;done

You might want to save your MBR before you do that though.

openbysource 12-18-2005 08:45 AM

Hi,

Yeah I have tried that.
But mine is more simple and straight forward.
Most importantly used by the RedHat Examiners. That's important.


All times are GMT -5. The time now is 08:00 PM.