Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to group

usermod -a -G examplegroup exampleusername
Comment

add user to group linux

sudo usermod -aG <groups> <username>
Comment

Adding users to groups

sudo usermod -a -G <groupname> <username>
e.g.
sudo usermod -a -G wonderland alice
Comment

command to add a user to a group

sudo usermod -a -G GROUP USER
Comment

linux add user to group

sudo groupadd $GROUP 
sudo usermod -aG $GROUP $USER
Comment

add user to group

usermod -a -G <group> <user>
$ usermod -a -G developer tom
Comment

create user with group

useradd -g <group> <user>
$ useradd -g developer tom
Comment

add user and group to folder

sudo chown -R www:ubuntu /opt/lampp/htdocs/
Comment

PREVIOUS NEXT
Code Example
Shell :: docker remove not running containers 
Shell :: change default editor linux 
Shell :: ubuntu check user groups 
Shell :: install pip 
Shell :: mac get your screen size terminal 
Shell :: cronjob run every hour 
Shell :: how to make wsl import 
Shell :: stop google process linux 
Shell :: redis show all keys 
Shell :: how to stop tomcat from cmd 
Shell :: laravel: command not found 
Shell :: vuetify install 
Shell :: arch linux fonts 
Shell :: git transfer changes to another branch 
Shell :: get current commit message git 
Shell :: dbeaver install ubuntu 
Shell :: git pull your local changes will be overwritten by merge 
Shell :: npm audit 
Shell :: .gitignore global 
Shell :: apartheid linux 
Shell :: laptop slow performance linux 
Shell :: ubuntu show git branch in terminal 
Shell :: install nvm via npm 
Shell :: docker compose run 
Shell :: remove unused images docker manually 
Shell :: chmod for pem file 
Shell :: see default gateway linux 
Shell :: git set token 
Shell :: launch ubuntu screenshot utility from terminal 
Shell :: install heroku cli on linux 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =