---
# System prepended metadata

title: Add and Remove user to a group
tags: [Ubuntu 20.04, Ubuntu]

---

# Add and Remove user to a group
###### tags: `Ubuntu` `Ubuntu 20.04`
```
$ sudo usermod -aG <groupname> <username>
```

```
$ sudo deluser <username> <groupname>
```
