Matthew Stapleton wrote:

> How do I recursively remove all the subdirectories and contents of a
> particular directory in Linux? I know of 'rmdir', but this only works for
> empty directories.  I need something like DOS's 'deltree'.
> 
> Thanks,
> Matthew Stapleton
>  
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
> 

Like this rm -rf /whatever  the -r is ofcourse recursive and the -f is force is 
it won't ask you.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to