rone: (Default)
[personal profile] rone

Nix wrote:

One person at work keeps a file named -i in important directories on Solaris boxes, just to catch rm *'s in them.

Do they keep an extra pair of underpants in their car in case they shit themselves on the way to work?

Date: 2009-11-20 12:00 pm (UTC)
From: [identity profile] omnot.livejournal.com
And sometimes you are right.

Don't worry. You are not nearly alone.

Date: 2009-11-20 12:08 pm (UTC)
From: [identity profile] baljemmett.livejournal.com
I know several programmers who probably should... *bangs head on desk, head*

Date: 2009-11-20 02:58 pm (UTC)
From: [identity profile] tau-iota-mu-c.livejournal.com
Pity it wouldn't catch the vast majority of accidental occurences of erroneous 'rm's.

rm -rf foo/* expanding to
rm -rf foo/-i foo/... does not do anything other than remove the crap you were trying to save.

Date: 2009-11-20 03:19 pm (UTC)
From: [identity profile] baljemmett.livejournal.com
Yes indeed -- I was referring to the underpants, though! When it comes to things like files named '-i', I lean more towards learning-by-painful-experience than safety-nets-of-dubious-effectiveness.

Date: 2009-11-20 03:14 pm (UTC)
From: [identity profile] roseembolism.livejournal.com
...for what it's worth, I keep a pair of "emergency pants" in the trunk of the car. They came in handy the day I showed up before one of my classes with a huge rip in my pants.

Date: 2009-11-20 05:54 pm (UTC)
From: [identity profile] sweh.livejournal.com
http://www.sluggy.com/images/comics/020417a.gif

did I mention I hate you?

Date: 2009-11-21 03:35 am (UTC)
From: [identity profile] drieuxster.livejournal.com
Oh, well, maybe i left that in my emergency underpants.

OH NO! The underpants gnomes have attacked!

Date: 2009-11-20 05:11 pm (UTC)
From: [identity profile] covertmusic.livejournal.com
My catastrophic sysadmin accidents tend to involve dd, not rm.

I'm an Excel/Keynote/CRM jockey now anyway. I'm sitting here, typing on a Mac, wearing a suit. I've gone full pointyhair.

I had a soul, once.

Date: 2009-11-20 09:10 pm (UTC)
From: [identity profile] h-postmortemus.livejournal.com
$
$ sudo rm -rf covertmusic

Date: 2009-11-20 09:09 pm (UTC)
From: [identity profile] h-postmortemus.livejournal.com
It's funny...

But of course in reality, it's a good idea. Because while only one person can be wearing your underpants at a time, quite a few people can be root on a *nix box at the same time...

Or in other words, "Yes I do keep spare underwear around if I'm being forced to work in shitty conditions".

Date: 2009-11-20 10:32 pm (UTC)
ext_8707: Taken in front of Carnegie Hall (bofh)
From: [identity profile] ronebofh.livejournal.com
If you have people with root access who are prone to carelessly typing 'rm *', you have problems.

hire professionals

Date: 2009-11-21 03:37 am (UTC)
From: [identity profile] drieuxster.livejournal.com
remember that the whole 'one shot one kill' is not always a good contract constant, and should be negotiable in the case where you are willing to pay the ammo bill so that the removal of defectives with root access is paced appropriately.

Date: 2009-11-21 11:41 am (UTC)
vatine: Generated with some CL code and a hand-designed blackletter font (Default)
From: [personal profile] vatine
I know one guy who kept files named -rf around, specifically so that he would NOT use wildcards. Learning through pain!

Profile

rone: (Default)
entombed in the shrine of zeroes and ones

December 2022

S M T W T F S
    123
45678910
11121314151617
18192021222324
252627282930 31

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 25th, 2025 05:09 am
Powered by Dreamwidth Studios