print the groups a user is in
add an example, a script, a trick and tips
groups $FT_USER | tr " " ","
memberships for each USERNAME or, if no USERNAME is
specified, for the current process (which may differ if the
groups database has changed).
display this help and exit
output version information and
Copyright © 2012 Free Software Foundation, Inc. License
GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute
it. There is NO WARRANTY, to the extent permitted by law.
Report groups bugs to bug-coreutils[:at:]gnu[:dot:]org
GNU coreutils home page:
General help using GNU software:
Report groups translation bugs to
documentation for groups is maintained as a Texinfo
manual. If the info and groups programs are
properly installed at your site, the command
coreutils 'groups invocation'
should give you
access to the complete manual.
David MacKenzie and James Youngman.