Hussain Mirahmadi Hussain Mirahmadi - 3 months ago 8
Linux Question

Linux doesn't show added group

When I try to make my 'devexe' group it says it exist but when I try to see it via this command :
$ cut -d: -f1 /etc/passwd
it's not in list .

Answer

Because groups are stored in /etc/group The correct command to list groups: getent group