Difference between revisions of "cmd/groups"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< cmd
Jump to navigation Jump to search
m (smw tweaks)
m
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
</hide>
 
</hide>
 
==About==
 
==About==
The <code>'''groups'''</code> command returns a list of groups to which the given user belongs; defaults to the current user, if no user is specified.
+
The {{l/cmd|groups}} command returns a list of groups to which the given user belongs; defaults to the current user, if no user is specified.
  
 
It doesn't really do anything else (aside from --help returning the manpage and --version showing the current version).
 
It doesn't really do anything else (aside from --help returning the manpage and --version showing the current version).

Latest revision as of 22:56, 13 November 2022

About

The groups command returns a list of groups to which the given user belongs; defaults to the current user, if no user is specified.

It doesn't really do anything else (aside from --help returning the manpage and --version showing the current version).

Related

  • Linux/groups: how user/group security works in Linux; list of related commands
  • GNU