$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 是一款支持 usergroups** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款