Subject: Re: How to delete a non-empty directory?
To: Xianwen Chen <firstname.lastname@example.org>
From: Johnny Billquist <email@example.com>
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: firstname.lastname@example.org || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol