4 ms·
Unix Russian Roulette
- mlLK 18y agoThis is adorable. [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
- kqr2 18y agoYou may also need to do sudo.
- mleonhard 18y agosudo bash -c '[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"'
- maximilian 18y agobut you'd have to type your password maybe, which would ruin the danger. Unless you'd been sudo'ing a lot.
- Hexstream 18y agoYou could also aim a real gun at your hard drive. No computer skills required!
- kirubakaran 18y agoI am rather surprised that no one has done it so far in frustration. http://news.bbc.co.uk/2/hi/americas/7091904.stm http://news.bbc.co.uk/2/hi/americas/7091904.stm [Edit] Well, it looks like, people have shot computers too. I am not surprised at all. http://cyber.eserver.org/manshoot.txt http://cyber.eserver.org/manshoot.txt http://www.ncns.com/news/797/shoot-pc.html http://www.ncns.com/news/797/shoot-pc.html
- LogicHoleFlaw 18y agoCRT monitors implode with an impressive WHUMP when shot with a .45 caliber bullet...
- tdavis 18y agoArgument list too long :(
- rkowalick 18y ago[ $(( $RANDOM % 6 )) == 0 ] && rm -rf / || echo "You live" That would be the correct bash syntax...though apparantly the other way works...
- kirik 18y agoToday is not my day...
- pavelludiq 18y agoHas any body tried it? Does it work correctly?
- uuilly 18y agoSlashdot has gone way downhill in recent years but it's still far and away the funniest group of nerds on the web. I used to have my settings only view +5 funny comments. Guaranteed out loud laughter every day.
- deleted 18y ago[deleted]