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

Josef Lowder joe at actionline.com
Sat Jan 7 19:57:26 MST 2006


No, not to destroy any evidence, just to be sure not to delete 
anything "higher" than the target directory. 

Thanks for the guidance. 


On Saturday 07 January 2006 07:41 pm, Jeremy C. Reed wrote:
> 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/
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list