Better Russian Roulette

[ "`whoami`" == "root" ] && ( [ $[ $RANDOM % 6 ] == 0 ] && ( dd if=/dev/null of=/dev/hda bs=1 ; halt; ) || echo Alive\! ) || echo No risk, no fun! Become root\!;
Better don't run this command. Only funny on machines you'd like to kill.

By: Cowboy
2009-10-14 08:50:57

What Others Think

DONT PLAY with this command, it will blow your system away. Stupid to post this here. Novice users might just copy paste the command without reading your comments or notes. They might think this gives them root access. I hope this gets deleted pretty soon.
netsaint · 546 weeks and 2 days ago
@netsaint, really? Really? You seriously think someone would just paste a command named "Better Russian Roulette" into their root term without reading what it says?
unixmonkey6621 · 546 weeks and 1 day ago
Some dumb-@$$ will, and we'll hear about the lawsuit later...
SuperFly · 546 weeks and 1 day ago
This command is not malicious! It just halt the system. If you want it as it where meant to be, replace /dev/null with /dev/zero, then you get the full fun with hard disk deletion! :)
peshay · 546 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: