Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-01 00:23:42 +00:00
parent 3495c8ec38
commit 04a3194487
3 changed files with 15 additions and 11 deletions

View File

@@ -25,6 +25,10 @@ source: https://github.com/tldr-pages/tldr.git
`sudo usermod {{[-aG|--append --groups]}} {{group1,group2,...}} {{username}}`
- Remove a user from specific groups:
`sudo usermod {{[-rG|--remove --groups]}} {{group1,group2,...}} {{username}}`
- Change a user home directory:
`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{path/to/new_home}} {{username}}`