$usergroups
–
Mapping of a user’s groups to group IDs
$usergroups
maps the names of the current user’s groups to the group identifiers.
Links
Examples
- Print groups name to id mapping of current user
- Output:
1 2
typeset usergroups # only the first few are shown
1
usergroups=( [tty]=5 [log]=19 [docker]=964 [libvirt]=968 )
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $usergroups - probieren Sie es jetzt aus!