Difference between revisions of "Groups (command)"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} == Related == * Group by == See also == * {{UID}} * {{chgrp}} * {{Linux Commands privileges}} Category:Linux") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * https://man7.org/linux/man-pages/man1/groups.1.html | ||
+ | <code>groups</code> - print the groups a user is in | ||
+ | |||
+ | <code>cat /etc/group</code> - list groups | ||
+ | |||
+ | <code>[[getent group]]</code> - list groups | ||
== Related == | == Related == | ||
− | * [[Group by]] | + | * <code>[[Group by]]</code> |
+ | * <code>[[lsgroup]]</code> ([[AIX]]) | ||
+ | * [[id -nG]] | ||
== See also == | == See also == |
Latest revision as of 10:06, 29 November 2023
groups
- print the groups a user is in
cat /etc/group
- list groups
getent group
- list groups
Related[edit]
See also[edit]
Advertising: