$GROUPS: Groups of Current User

$GROUPS is an array and contains the groups of which the current user is a member.

Examples

Print all groups of the current user
1
echo ${GROUPS[@]}
BashSupport Pro 是一个 支持 $GROUPS 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款