linux delete content of folder

Code Example - linux delete content of folder

                
                        //Deletes the folder including all its content
rm -r /path/to/directory/*
                    
                
 

linux remove folder and all his content

                        
                                rm -rf /path/to/directory