[GRLUG] RM *
Mike Williams
knightperson at zuzax.com
Thu May 17 14:11:18 EDT 2012
I used to cancel and think about it some more back in DOS, even if I was
sure, when it said "ARE YOU SURE?"
On 05/17/2012 01:44 PM, Steve Romanow wrote:
> I have myself trained to pause, a sometimes emabrassingly long pause
> when I am doing an rm. I hope to never take it for granted.
>
> On Thu, May 17, 2012 at 1:14 PM, John Wesorick <john at wesorick.com
> <mailto:john at wesorick.com>> wrote:
>
> @Mike - I'm glad modern *nixes make that assumption. I've done
> that several times without thinking about it, but it makes sense
> that it would have had that behavior.
>
>
> On Thu, May 17, 2012 at 12:55 PM, Mike Williams
> <knightperson at zuzax.com <mailto:knightperson at zuzax.com>> wrote:
>
> A similar story, which fortunately is not repeatable on modern
> flavors of *nix, is this one. I guy needs to wipe a directory,
> so he types rm * or so, but leaves all the hidden files:
> anything starting with a period. So he type rm -rf .* to get
> rid of them. On Unix of the day, that wildcard is evaluated
> literally and includes .<anything>, including .. the parent
> directory. Which it "descends" into and recursively removes
> everything there, working its way up to the root! Fortunately,
> modern machines assume that if you type rm .* you really mean
> rm .?* (or whatever it is).
>
>
> On 05/17/2012 12:26 PM, Adam M. Erickson wrote:
>
> Thanks Casey, I just shared this with a new Linux
> Admin/DBA I had the
> pleasure of training.
>
> Best regards,
>
> Adam M. Erickson
>
> On Thu, May 17, 2012 at 10:57 AM, Casey
> DuBois<casey at grlug.org <mailto:casey at grlug.org>> wrote:
>
> Anyone ever use RM * when they shouldn't have?
> It's been done:
> http://www.youtube.com/watch?v=EL_g0tyaIeE&feature=player_embedded
> <http://www.youtube.com/watch?v=EL_g0tyaIeE&feature=player_embedded>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org <mailto:grlug at grlug.org>
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org <mailto:grlug at grlug.org>
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org <mailto:grlug at grlug.org>
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list