Cameron Simpson wrote:
> 
> On Sat, Dec 16, 2000 at 11:31:09AM -0700, Bill Anderson <[EMAIL PROTECTED]> wrote:
> | > > Or my favorite:
> | > > rm -rf .*
> | > > thinking it will remove the current directory OR all the dotfiles in the
> | > > current directory ... and are root.
> | > I assume this will delete everything from the parent directory down?  at least 
>ls .* appears to return the .. dir as well.  hmm pretty scary.
> | It will limb it's way back up the tree to /.
> 
> It will not.
> 
> | I've seen it.
> 
> I'd give good odds you've misinterpreted some subtly different incantation,
> or been just below the root dir anyway.

What kind of odds are you giving? :) 
I've seen it a few times.

 
> While we're bitching about rm, anyone know how to fix its prompting behaviour?
> On normal UNIXen the incantation
>         rm blah
> will prompt for removal if you haven't write permission to blah as a sanity
> check. Naturally,
>         rm -f blah
> doesn't ask.
> 
> If I leave off the -f flag GNU rm seems to ask about _every_ bloody

Redhat alias. check the aliases, you'll find it aliase with -i.

>
> Does GNU rm 

It isn't GNU, it's RH.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to