sajad torkamani

Syntax:

groups <user> | xargs -n1

Example:

groups $(whoami) | xargs -n1
Tagged: macOS