Commit 629498

2026-03-21 22:20:17 joris: edit
linux commands.md ..
@@ 1,11 1,11 @@
# Linux commands
# User management
- #### Create a New Group
+ #### create a New Group
If you want to create a new group on your system, use the groupadd command following command, replacing new_group with the name of the group you want to create.
> sudo groupadd mynewgroup
- #### Add an Existing User Account to a Group
+ #### add an existing user account to a group
To add an existing user account to a group on your system, use the usermod command, replacing examplegroup with the name of the group you want to add the user to and example username with the name of the user you want to add.
> sudo usermod -a -G examplegroup exampleusername
@@ 21,11 21,11 @@
Voer een comando uit als een andere user
> sudo -u user commando
- #### Ownership
+ #### ownership
(recursive in folder)
> sudo chown -R syncthing:syncthing Muziek/
- #### Change permissions CHMOD
+ #### change permissions CHMOD
chmod ...
Alle folders naar 770
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9