What is the correct command syntax to remove a directory and contents?

Jeremy C. Reed reed at reedmedia.net
Sat Jan 7 19:41:06 MST 2006


On Sat, 7 Jan 2006, Josef Lowder wrote:

> What is the correct command syntax to (safely) remove 
> a directory and its entire contents? 

I use: rm -rf /path/to/directory

What do you mean by "safely"? Do you mean to destroy any evidence?


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/


More information about the PLUG-discuss mailing list