Asked • 03/19/19

Is there a command to list all Unix group names?

I know there is the `/etc/group` file that lists all users groups. I would like to know if there is a simple command to list all user group names in spite of parsing the world readable `/etc/group` file. I am willing to create an administrator web page that lists Linux accounts' group names.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.