Command | Description |
---|---|
sudo adduser username | To display value of a variable |
sudo passwd -l 'username' | Displays all environment variables |
sudo userdel -r 'username' | Create a new variable |
sudo usermod -a -G GROUPNAME USERNAME | Remove a variable |
sudo deluser USER GROUPNAME | To set value of an environment variable |
finger | Gives information on all logged in user |
finger username | Gives information of a particular user |