Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 06-11-2004, 05:09 AM   #1
Registered: May 2004
Posts: 32

Rep: Reputation: 15
Question listing groups question??

Hi guys,

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

Thanks in advance.
Old 06-11-2004, 12:59 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic question about groups celejar Linux - General 2 07-07-2005 09:25 AM
ls question: how to avoid listing contents of subdirectories learnfast Linux - Newbie 2 03-09-2005 08:59 AM
Simple groups question scottrell Linux - General 1 12-02-2004 03:35 PM
Apache directory listing question ScreeminChikin Linux - Software 6 04-15-2004 02:33 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration