PDA

View Full Version : "(Useful) Stupid Unix Tricks..."


Daz
06-11-2008, 02:05
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

phykell
06-11-2008, 02:40
I haven't seen that roulette one in years :D

Feek
06-11-2008, 07:25
I haven't seen that roulette one in years :D

eek! Do not try this at home! (or at work for that matter)

Desmo
06-11-2008, 08:52
Isn't that the one that will wipe everything?

phykell
06-11-2008, 09:27
Isn't that the one that will wipe everything?
Only if you're unlucky ;)

Desmo
06-11-2008, 12:00
Do you feel lucky punk? Well? Do ya?

Garp
09-11-2008, 06:16
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!

Desmo
09-11-2008, 10:43
I might setup a vBox and try these just to see what it's like ;D