On Sunday 30 June 2002 13:50, Joseph Jackson wrote: > 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 > > > > Like this rm -rf /whatever the -r is ofcourse recursive and the -f is > force is it won't ask you. >
... and be VERY CAREFUL using it!!!! (man rm will give you the syntax). cr - 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
