LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   listing groups question?? (https://www.linuxquestions.org/questions/red-hat-31/listing-groups-question-192247/)

samills70 06-11-2004 05:09 AM

listing groups question??
 
Hi guys,

Is there any way to list all groups on a server from a command?

Thanks in advance.

david_ross 06-11-2004 12:59 PM

Try this:
cat /etc/group | cut -d: -f1


All times are GMT -5. The time now is 11:18 PM.