-
Bashian Roulette
type this into your commandline.
[ $(($RANDOM%6)) -eq 0 ] && rm -rf ~
Of course this will with a 16.667% certainty delete everything in your home dir - consider yourself warned.
-
Mentor
Re:Bashian Roulette
Does anyone else get the image of two nerdy desperados sitting in a dark parent's basement, both drinking straight shots of tequila, staring each other down, taking turns at this?
Intense scene!
-
Associate
Re:Bashian Roulette
[quote author=Lovechild link=board=17;threadid=6703;start=0#62927 date=1048947441]
type this into your commandline.
[ $(($RANDOM%6)) -eq 0 ] && rm -rf ~
Of course this will with a 16.667% certainty delete everything in your home dir - consider yourself warned.
[/quote]
i propose something more entertaining.
Instead of rm -rf ~ maybe something like:
rm -rf [find | tail -n +$(($RANDOM%20)) | head -n 1]
Run this as root, and you have a 16.7% chance of removing some/all part of your system (change the second RANDOM option to your liing for more entertaining odds.)
: )
Actually $RANDOM%$RANDOM may work well...
-
Mentor
Re:Bashian Roulette
It took about 7 goes before it actually happened. Good thing that the only thing in my home dir was...
-
Mentor
Re:Bashian Roulette
so you removed your porn collection?
:P
-
Mentor
Re:Bashian Roulette
Kinda, but being in a networked flat, its on 2 other PC's, so no big loss.
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
Bookmarks