anyone know a unix command for...

spanky

Lifer
Jun 19, 2001
25,716
4
81
hello all,

i have a question, which i hope has a fairly simple solution. is there a Unix command that is similar to the "deltree" command from windows? basically, what i want to do is to be able to delete a directory, which also has other files and/or directories within it. when i use the "rm" command, it tells me that the dir is not empty. is there an easy way to just blow it away in a single command? i would appreciate any suggestion you might have. thank you.


-spanky
 

Nitemare

Lifer
Feb 8, 2001
35,461
4
81
For future information...
type in man rm

the man "manuals" are available for most commands and do tell you what all the flags are and what they mean.
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Yes, it's...

rm -rf /folder/to/delete/goes/here

rm -rf /bin/laden/

Excellent! :D :D

Or how about...

kill -s EXTERMINATE bin_laden