Subject: Re: How to delete a non-empty directory?
To: Xianwen Chen <email@example.com>
From: Johnny Billquist <firstname.lastname@example.org>
Date: 04/05/2006 12:09:44
I saw that someone already gave the answer to add -rf to the rm command.
While that answers your question, it's rather short.
To answer in full: you can't delete a non-empty directory. You first
need to delete all files within the directory before you can remove the
And that's what the switches -rf will help you do.
Xianwen Chen wrote:
> How to delete a non-empty directory?
> Xianwen Chen
> College Of Economics And Trades,Shanghai Fishiries University
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: email@example.com || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol