Jack Wallen / Elyse Betters Picaro / ZDNET
Follow ZDNET: Add us as a preferred source on Google.
Linux makes interacting with your PC and your apps quite straightforward. Anything you can do on proprietary operating systems like Windows and MacOS, you can do with the open-source OS, from the simple to the complicated.
Often, however, the simplest tasks can be a bit confusing, especially when you're new to something. For instance, how do you delete a directory (aka "folder") on Linux?
Also: The first 8 Linux commands every new user should learn
Sounds simple, right? It is! Just like on MacOS or Windows, deleting a directory on Linux can be handled by anyone, regardless of skill level.
I'll show you two easy ways to do this, and I'll also include a bonus method that provides a more secure way to delete a directory.
Method 1: From the file manager
What you'll need: The only things you'll need for this are a desktop Linux distribution and a directory to delete. I'll demonstrate this on Pop!_OS with the COSMIC desktop, but the process will be similar, regardless of Linux distro or desktop environment.
... continue reading