On Sun, 10 May 1998, Nils Rennebarth wrote:

> On Sun, May 10, 1998 at 11:10:45AM -0400, Keith wrote:
> > I have been trying to delete directories that are not empty. I try doing
> > a rm -d * but I get a response that the operation is not allowed. I am
> > logged in as root. What am I doing wrong. I am looking something that
> > works like deltree in dos.
> You want
>   rm -r
> 
> And it's a dangerous command that can wipe your disk if you are not careful.

A not so dangerous command would be:

        cd dir
        rm *
        cd ..
        rm dir

-Egon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to