Which command can be used to delete a group from a Linux system?

Which command can be used to delete a group from a Linux system?
A . groupdel
B . groupmod
C . groups
D . groupedit

Answer: A

Explanation:

The groupdel command is used to delete a group from a Linux system. It removes the group name from the /etc/group and /etc/gshadow files, but not the group’s configuration files, entries, or account files. The groupdel command requires root or sudo privileges and does not accept any options except for one for chroot. The groupdel command does not print any output on success, but it will display an error message if the group does not exist or if it is the primary group of an existing user. The groupdel command is part of the shadow-utils package, which provides tools for managing user and group accounts. The groupdel command is also compatible with the Linux Standard Base (LSB) specification, which defines a common set of commands and utilities for Linux distributions.

Reference: 1234

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments