$
Learn Linux handbook
en
XP:0
Quest 137Deleter
+150 XP

Deleting Groups (groupdel)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

When project teams reorganize or decommission services, the corresponding security groups must be cleaned up. In Linux, we delete groups using groupdel.

- The groupdel command permanently deletes a group from the system configuration files, requiring superuser privileges.

Let's clean up our groups. Delete the developers group by running sudo groupdel developers.

Command Syntax Reference

Command / SyntaxDescription
sudo groupdel developersDelete the developers group

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Delete group "developers" using groupdel

Ready to complete Quest 137?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.