FG

In Ubuntu how do I delete a directory and everything underneath it?

Fresh3 days ago
Mar 15, 202634971 views
Confidence Score0%
0%

Problem

In Ubuntu how do I delete a directory and everything underneath it, including directories and their contents?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In Ubuntu how do I delete a directory and everything underneath it?

Low Risk

What you are describing is called a recursive remove. To do this, open a shell and type:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment