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 · 565 weeks and 3 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 · 565 weeks and 2 days ago
Some [email protected]$$ will, and we'll hear about the lawsuit later...
SuperFly · 565 weeks and 2 days 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 · 565 weeks and 2 days ago
Russian roulette is a really great game. I think you can even find it here at this online casino. In addition, at this link you can even read the expert assessment of this casino, if anyone is interested.
jannw · 8 weeks and 1 day ago
I really like it, because I really like to play in online casinos, and Russian roulette is quite popular there. If someone finds this interesting and you decide to visit an online casino, I recommend looking for it with reviews that can be read at And all because the reviews present the best casinos in Switzerland, which have the most convenient payment system skrill. Reviews will help you choose a reliable and proven casino that you will definitely be happy with.
Glairist · 2 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: