bash:commands:user_commands
BASH - Commands - User Commands
Description | Command |
---|---|
Add a group | groupadd groupname |
Add a user | adduser peter |
Add a user | useradd -c “Peter Roux” - g admin -m peter # Add user peter |
Delete a user | userdel peter |
Display information on a user | finger user |
Display who is logged in | w |
Display who you are logged in as | whoami |
Modify user information | usermod peter |
Show the active user id with login and group | id |
Show last logins on the system | last |
Show who is logged into the system | who |
bash/commands/user_commands.txt · Last modified: 2021/01/26 15:50 by peter