This post mentions some Linux commands that can be used for user and group related tasks. with this commands, you can add,remove,delete users and groups. To run certain commands you must have root or sudo level rights on Linux machine.
Below are the commands with detail explanations.
This command will provide you the no. of active users and their ids. Also, you will get the users login and group information with help of this command.