-
Destructive fun with Linux
I've just rebuilt the server at home, and I was wondering how much fun you can have trashing a Linux system.
As root, try this:
> cd /
> rm -rf *
Has anyone managed to wipe out the entire filesystem (best set the immutable flag on rm) and still keep the system running?
I managed to wipe out 98% (I'm guessing, but there wasn't much left) of the system before I accidentally wiped the rm command.
Anyone else got some fun (destructive) commands no-one should ever try on a production system?
How about echoing /dev/random into the swap partition on a running system? Or dd'ing random data to /dev/hda? Any other ideas?
James
Last edited by Satanic Atheist; 09-03-2003 at 09:40 AM.
-----------------------------
UseLinux.net
-----------------------------
perl -e 'use Math::Complex;$|=1;for$r(0..24){for$c (0..79){$C=cplx(($c/20.0)-3.0,-($r/12.0)+1.0);$Z= cplx(0,0);for($i=0;($i<80)&&(abs($Z)<2.0);$i++){$Z =$Z*$Z+$C;}print$i>=80?"*":" ";}print"\n";}'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|