Paul Kraus wrote:

> How do I delete a directory that contains files and more directories. I want to 
>erase everything in the folder. Command Line please. <---- I hated the command line 
>but its like crack, very addictive. Its actually easier and much more efficient then 
>the gui. If your not using it I recommend learning as much as possible. 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 

rm -r /whateverdirectoryname/and/path -f


the -r is for recursive (i. e. descend into subdirectories) and the -f 
is for force without asking

While

rm -rf /whateverdirectoryname/and/path

will work to the same effect, it is considered bad form.  Imagine that 
you type this far

rm -rf /

and then the household cat launches for your desktop and plops a fat paw 
on the enter key.  Your entire filesystem(s) are bye-bye, even 
/mnt/windows_c if you happen to have one and it is writeable.

Aside from having the household cat for supper, there is no 
compensation, and of course even less when you fat-finger the enter key 
yourself.  Take it from someone who has committed that faux pas.

Civileme



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to