WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Simple script to list user groups  (Read 2853 times)

Offline grisxa

  • Newbie
  • *
  • Posts: 27
Simple script to list user groups
« on: June 25, 2010, 04:17:25 AM »
Hi!
I you don't want to install coreutils for the moment, you may list user groups with my simple script using grep, cut and sort.
Just place it into /usr/local/bin and make executable.

Example:

$ groups tc
staff uucp

$ groups none
groups: none: No such user