List Linux users and groups easily: getent passwd (all users), getent group (all groups), groups username (user's groups). For complete reports: cut -d: -f1 /etc/passwd | xargs groups. Bash shortcut: compgen -u or compgen -g. #Linux #SystemAdmin #CommandLine
https://pupuweb.com/how-can-i-easily-see-all-users-and-their-assigned-groups-in-linux/