Tú Linh Nguyễn
New member
How do I list all groups in Linux?
Answer
To view all groups present on the system simply
open the /etc/group file. Each line in this file represents information for one group. Another option is to use the getent command which displays entries from databases configured in /etc/nsswitch.
Answer
To view all groups present on the system simply
open the /etc/group file. Each line in this file represents information for one group. Another option is to use the getent command which displays entries from databases configured in /etc/nsswitch.