View Full Version : "(Useful) Stupid Unix Tricks..."
http://ask.slashdot.org/article.pl?sid=08/11/05/2027234&from=rss
Some very useful, some very stupid, some very funny:
I prefer the Russian roulette version:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
:D
I haven't seen that roulette one in years :D
I haven't seen that roulette one in years :D
eek! Do not try this at home! (or at work for that matter)
Isn't that the one that will wipe everything?
Isn't that the one that will wipe everything?
Only if you're unlucky ;)
Do you feel lucky punk? Well? Do ya?
Dig out a users terminal from the output of the "w" command and do (taking for example, terminal pW):
cat /dev/urandom > /dev/ttypW
Great way to piss people off :D
Of course I'd never do that to anyone *cough*
Make sure you know exactly what command they're using and that you're not about to cause some serious damage to the server though!
I might setup a vBox and try these just to see what it's like ;D
vBulletin® v3.7.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.