In Ubuntu how do I delete a directory and everything underneath it, including directories and their contents?
|
feedback
|
|
What you are describing is called a recursive remove. To do this, open a shell and type:
| |||||
feedback
|
| |||
|
feedback
|
|
rmdir: The rmdir command will delete an empty directory. To delete a directory and all of its contents recursively, use rm -r instead. | |||
|
feedback
|