Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: grisxa on June 25, 2010, 04:17:25 AM

Title: Simple script to list user groups
Post by: grisxa 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