Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In Ubuntu how do I delete a directory and everything underneath it, including directories and their contents?
What you are describing is called a recursive remove. To do this, open a shell and type:
rm -r /path/to/directory
rm -r the_folder_that_needs_to_be_blasted
rmdir: The rmdir command will delete an empty directory. To delete a directory and all of its contents recursively, use rm -r instead.
Required, but never shown