List all users and groups on linux

Simple way to check your user list with your groups.

SNP 005 #962 Filed cmd

List of user you can check the file they are stored in.

shell
cat /etc/passwd

To check the users groups.

shell
groups ian

To check all groups just do.

shell
cat /etc/group