[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ways to destroy your partitions



Quoting Jamon Terrell <JamonTerrell@charter.net>:

> curiosity@cat:~/#  for i in `df |awk '{ print $1}' | grep dev`; do  dd
> if=/dev/zero of=$i ; 
> done

*cough*

(alkorin@kliren:~)$ cat > ./do-not-run-DIE-DIE-CRASH-BOOM << "EOF"
> for i in `df | cut -f1 | grep dev`;
> do
>	echo dd if=/dev/zero of=$i
>	dd if=/dev/zero of=$i
> done;
> EOF
(alkorin@kliren:~)$ chmod a+x ./do-not-run-DIE-DIE-CRASH-BOOM
(alkorin@kliren:~)$ ./do-not-run-DIE-DIE-CRASH-BOOM
dd if=/dev/zero of=/dev/hda1
dd if=/dev/zero of=/dev/hda3
dd if=/dev/zero of=/dev/hda4
dd if=/dev/zero of=/dev/hdb1
(alkorin@kliren:~)$

Byebye!

--
Nate Reindl  <<  Resident... something.

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.