Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 06-11-2008, 02:05   #1
Daz
The Stig
 
Daz's Avatar
 
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
Talking "(Useful) Stupid Unix Tricks..."

http://ask.slashdot.org/article.pl?s...27234&from=rss

Some very useful, some very stupid, some very funny:

Quote:
I prefer the Russian roulette version:

[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
__________________
apt-get moo
Daz is offline   Reply With Quote
Old 06-11-2008, 02:40   #2
phykell
Vodka Martini
 
phykell's Avatar
 
Join Date: Sep 2007
Posts: 833
Default

I haven't seen that roulette one in years
__________________
phykell is offline   Reply With Quote
Old 06-11-2008, 07:25   #3
Feek
ex SAS
 
Feek's Avatar
 
Join Date: Jun 2006
Location: JO01ou
Posts: 10,062
Default

Quote:
Originally Posted by phykell View Post
I haven't seen that roulette one in years
eek! Do not try this at home! (or at work for that matter)
__________________
Feek is offline   Reply With Quote
Old 06-11-2008, 08:52   #4
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Isn't that the one that will wipe everything?
__________________
Desmo is offline   Reply With Quote
Old 06-11-2008, 09:27   #5
phykell
Vodka Martini
 
phykell's Avatar
 
Join Date: Sep 2007
Posts: 833
Default

Quote:
Originally Posted by Desmo View Post
Isn't that the one that will wipe everything?
Only if you're unlucky
__________________
phykell is offline   Reply With Quote
Old 06-11-2008, 12:00   #6
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Do you feel lucky punk? Well? Do ya?
__________________
Desmo is offline   Reply With Quote
Old 09-11-2008, 06:16   #7
Garp
Preparing more tumbleweed
 
Garp's Avatar
 
Join Date: Jun 2006
Location: Hawaii
Posts: 6,038
Default

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

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!
__________________
Mal: Define "interesting"?
Wash: "Oh, God, oh, God, we're all gonna die"?
Garp is offline   Reply With Quote
Old 09-11-2008, 10:43   #8
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

I might setup a vBox and try these just to see what it's like
__________________
Desmo is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 17:54.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.