rone: (Default)
entombed in the shrine of zeroes and ones ([personal profile] rone) wrote2009-11-20 03:45 am
Entry tags:

sometimes i suspect that i'm not as funny as i think i am

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?

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

Don't worry. You are not nearly alone.

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

[identity profile] tau-iota-mu-c.livejournal.com 2009-11-20 02:58 pm (UTC)(link)
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.

[identity profile] baljemmett.livejournal.com 2009-11-20 03:19 pm (UTC)(link)
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.

[identity profile] roseembolism.livejournal.com 2009-11-20 03:14 pm (UTC)(link)
...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.

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

did I mention I hate you?

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

OH NO! The underpants gnomes have attacked!

[identity profile] covertmusic.livejournal.com 2009-11-20 05:11 pm (UTC)(link)
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.

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

[identity profile] h-postmortemus.livejournal.com 2009-11-20 09:09 pm (UTC)(link)
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".
ext_8707: Taken in front of Carnegie Hall (bofh)

[identity profile] ronebofh.livejournal.com 2009-11-20 10:32 pm (UTC)(link)
If you have people with root access who are prone to carelessly typing 'rm *', you have problems.

hire professionals

[identity profile] drieuxster.livejournal.com 2009-11-21 03:37 am (UTC)(link)
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.
vatine: Generated with some CL code and a hand-designed blackletter font (Default)

[personal profile] vatine 2009-11-21 11:41 am (UTC)(link)
I know one guy who kept files named -rf around, specifically so that he would NOT use wildcards. Learning through pain!