|
-
May 7th, 2003, 06:58 AM
#1
Russian roulette for BASH
WARNING MIGHT RESULT IN MASSIVE DATA LOSS !!!
play russian roulette in your BASH shell...
copy and paste this line..
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
for people with any regard for the safety of their data there is a safe version
[ $[ $RANDOM % 6 ] == 0 ] && echo "You are dead" || echo "You live"
How it works..
A random integer between 0 and 5 ( MOD 6 ) is generated and checked against 0
if it is 0 you go to the next step of the IF statement, the AND ( && ) that removes all data recursively with force from your linux..
if it is not 0 you go to the OR ( || ) part wich tells you You live
ASCII stupid question, get a stupid ANSI.
When in Russia, pet a PETSCII.
Get your ass over to SLAYRadio the best station for C64 Remixes !
-
May 7th, 2003, 09:57 PM
#2
*proest*
BWAHAHAHAAAA
oops...
erm...
-
May 7th, 2003, 10:12 PM
#3
Haha...
00:* Lug's out a test box *
10:*mumbels some thing*
20:* AAAGH! damn it damn it damn it! *
30:* Re-install *
40:* Goto 00 *
- Noia
With all the subtlety of an artillery barrage / Follow blindly, for the true path is sketchy at best. .: Bring OS X to x86!:.
Og ingen kan minnast dei linne drag i dronningas andlet den fagre dag Då landet her kvilte i heilag fred og alle hadde kjærleik å elske med.
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
|
|