$usergroups  –  Mapping of a user’s groups to group IDs

$usergroups maps the names of the current user’s groups to the group identifiers.

Examples

Print groups name to id mapping of current user
1
2
typeset usergroups
# only the first few are shown
Output:
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!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches