BASH - Commands - User Commands

DescriptionCommand
Add a groupgroupadd groupname
Add a useradduser peter
Add a useruseradd -c “Peter Roux” - g admin -m peter # Add user peter
Delete a useruserdel peter
Display information on a userfinger user
Display who is logged inw
Display who you are logged in aswhoami
Modify user informationusermod peter
Show the active user id with login and groupid
Show last logins on the systemlast
Show who is logged into the systemwho