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 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.

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 07:34 pm
Powered by Dreamwidth Studios