Name
groupdel — stdin stdout - file -- opt --help --version
Synopsis
groupdel group
The groupdel
command
deletes an existing group.
# groupdel friends
Before doing this, it’s a good idea to identify all files that have their group ID set to the given group, so you can deal with them later:
# find / -group friends -print
because groupdel
does not
change the group ownership of any files. It simply removes the group
name from the system’s records. If you list such files, you’ll see a
numeric group ID in place of a group name.
Get Linux Pocket Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.